[Distutils] failing to build quadtree if the package is already installed

Kurt Schwehr schwehr at gmail.com
Sun Jan 28 13:01:18 CET 2007

Thanks!  The package developer has fixed it and it is now up on the
cheeseshop as version 0.1.2 of quadtree.


> Message: 2
> Date: Fri, 26 Jan 2007 12:03:07 -0500
> From: "Phillip J. Eby" <pje at telecommunity.com>
> Subject: Re: [Distutils] failing to build quadtree if the package is
>         already installed
> To: "Kurt Schwehr" <schwehr at gmail.com>, distutils-sig at python.org
> Message-ID:
>         < at sparrow.telecommunity.com>
> Content-Type: text/plain; charset="us-ascii"; format=flowed
> At 11:11 AM 1/26/2007 -0500, Kurt Schwehr wrote:
> >Sorry if this kind of thing has already been discussed.  I am packaging
> >quadtree for Mac OSX/fink (deb based package management) and am getting a
> >failed build if the package is alread installed and I am trying to do a
> >rebuild.  Can someone point me at what needs to be changed?  Is this
> >because quadtree is a namespace?
> Yes, and it shouldn't be, since its __init__.py contains actual code, and
> is missing a namespace declaration.  (The whole point of a namespace
> package is that the package itself shouldn't contain any code.  After all,
> in a --single-version-externally-managed install, the __init__.py will not
> even be *there*.)
> So, this is a packaging error on the part of the quadtree
> developer(s).  Most likely, quadtree is not really a namespace package and
> should not be declared as one, because the only reason to do that is if
> there are modules or subpackages under that package that are distributed
> *separately*.  My guess is that the author saw a namespace declaration in
> some other project's setup.py and thought it was required boilerplate
> instead of an option.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20070128/88e1913b/attachment.html 

More information about the Distutils-SIG mailing list