Thanks! The package developer has fixed it and it is now up on the cheeseshop as version 0.1.2 of quadtree.<br><br>-kurt<br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Message: 2<br>Date: Fri, 26 Jan 2007 12:03:07 -0500<br>From: "Phillip J. Eby" <<a href="mailto:pje@telecommunity.com">pje@telecommunity.com</a>><br>Subject: Re: [Distutils] failing to build quadtree if the package is
<br> already installed<br>To: "Kurt Schwehr" <<a href="mailto:schwehr@gmail.com">schwehr@gmail.com</a>>, <a href="mailto:distutils-sig@python.org">distutils-sig@python.org</a><br>Message-ID:<br> <
<a href="mailto:5.1.1.6.0.20070126115632.0521dea0@sparrow.telecommunity.com">5.1.1.6.0.20070126115632.0521dea0@sparrow.telecommunity.com</a>><br>Content-Type: text/plain; charset="us-ascii"; format=flowed<br>
<br>At 11:11 AM 1/26/2007 -0500, Kurt Schwehr wrote:<br>>Sorry if this kind of thing has already been discussed. I am packaging<br>>quadtree for Mac OSX/fink (deb based package management) and am getting a<br>>failed build if the package is alread installed and I am trying to do a
<br>>rebuild. Can someone point me at what needs to be changed? Is this<br>>because quadtree is a namespace?<br><br>Yes, and it shouldn't be, since its __init__.py contains actual code, and<br>is missing a namespace declaration. (The whole point of a namespace
<br>package is that the package itself shouldn't contain any code. After all,<br>in a --single-version-externally-managed install, the __init__.py will not<br>even be *there*.)<br><br>So, this is a packaging error on the part of the quadtree
<br>developer(s). Most likely, quadtree is not really a namespace package and<br>should not be declared as one, because the only reason to do that is if<br>there are modules or subpackages under that package that are distributed
<br>*separately*. My guess is that the author saw a namespace declaration in<br>some other project's setup.py and thought it was required boilerplate<br>instead of an option.<br><br><br></blockquote></div><br>