[Distutils] Including directories in .eggs?

David Wolever wolever at cs.toronto.edu
Fri Feb 15 21:44:11 CET 2008


Hey,
I'm wondering how I would go about including an entire directory in  
the .egg setup.py creates.  We are using Dojo, and it automatically  
builds a directory containing the "stuff" it needs... But just  
including that directory in package_data doesn't work (as it expects  
to copy a file, not a directory).  Including a glob such as 'js/**/ 
**' also fails, because directories are listed as part of the '**/ 
**', and it can't copy those.

Any ideas?

Thanks,
David


More information about the Distutils-SIG mailing list