[Distutils] problem with sdist for nested packages

Doug Hellmann doug.hellmann at gmail.com
Thu Sep 9 12:38:22 CEST 2010


On Sep 8, 2010, at 12:56 PM, P.J. Eby wrote:

> At 12:00 PM 9/8/2010 -0400, Doug Hellmann wrote:
>> Instead of explicitly listing packages, I use find_package_data() and then get the package names from that result.  The odd thing is I get a package "PyMOTW.ElementTree" but not "PyMOTW.xml.etree.ElementTree".  Maybe I'm misunderstanding/misusing find_package_data(), since that nested package is the only one I'm having problems with.
> 
> You want find_packages():
> 
> http://peak.telecommunity.com/DevCenter/setuptools#using-find-packages

That took care of it. Thanks for the help!

Doug



More information about the Distutils-SIG mailing list