[Distutils] setuptools and packages with dots

Phillip J. Eby pje at telecommunity.com
Fri Apr 13 02:18:41 CEST 2007


At 03:53 PM 4/12/2007 -0400, Benji York wrote:
>Phillip J. Eby wrote:
>>At 02:34 PM 4/12/2007 -0400, Benji York wrote:
>>>% python setup.py develop
>>>running develop
>>>running egg_info
>>>writing requirements to test.egg-info/requires.txt
>>>writing test.egg-info/PKG-INFO
>>>writing top-level names to test.egg-info/top_level.txt
>>>writing dependency_links to test.egg-info/dependency_links.txt
>>>error: package directory 'bad/dir' does not exist
>>>
>>>It looks like somewhere in setuptools paths are being normalized to
>>>package names and back.  The dot doesn't survive the round trip.
>>Er...  so?  :)
>
>Perhaps directories who's names are not valid Python package names should 
>be ignored.

Ah...  so you're saying find_packages() is broken.  I suppose I agree with 
that, to a point.



More information about the Distutils-SIG mailing list