[Distutils] Including directories in .eggs?

David Wolever wolever at cs.toronto.edu
Sat Feb 16 00:26:39 CET 2008


On 15-Feb-08, at 5:17 PM, Phillip J. Eby wrote:
> If that doesn't work, you're not using revision control, or just  
> don't want to put them in revision control, you'll have to list the  
> directory in a MANIFEST.in file: see the distutils docs  
> ("Distributing Python Modules") from python.org for the specific  
> format.
Alright, I've put in my MANIFEST.in file:
recursive-include path/to/dojo/*

But when I run ``python setup.py install`` the files don't appear in  
the egg that is installed to .../site-packages/

The SOURCES.txt file DOES have the correct list of files, though, and  
when I use ``setup.py sdist`` the correct files are included there too.

Is there some subtle difference between an "install" and an "sdist"  
that I'm missing?



More information about the Distutils-SIG mailing list