[Distutils] problem with sdist for nested packages

P.J. Eby pje at telecommunity.com
Wed Sep 8 18:56:01 CEST 2010


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




More information about the Distutils-SIG mailing list