[Distutils] Skipping namespace file?

Phillip J. Eby pje at telecommunity.com
Fri Jan 5 20:41:46 CET 2007


I've now fixed the bug below in both the 0.6 branch and the development 
trunk.  You can get them by easy_installing either 'setuptools==dev06' or 
'setuptools==dev', respectively.

At 11:43 AM 1/5/2007 -0500, Phillip J. Eby wrote:
>At 09:05 AM 1/5/2007 -0500, Kurt Schwehr wrote:
> >If I read that right, it is not letting python know about the dap module,
> >so that I can't do something like "import dap.client".  Does this mean
> >that the setup.py is not configured correctly to include a "dap"?
>
>Yes, you're right, that is exactly the problem.  There are two possible fixes:
>
>1. add 'dap' to the namespace_packages setting in the setup.py
>
>2. change setuptools to figure out that this is needed
>
>Since setuptools already knows that it shouldn't include the __init__ for
>dap, it can reasonably be considered a setuptools bug that it doesnt'
>generate the .pth correctly for that case, so I will fix that.  In the
>meantime, as a workaround, adding 'dap' to the namespace_packages setting
>will allow you to proceed.
>
>Thanks for your patience and help in identifying the actual bug.



More information about the Distutils-SIG mailing list