[Distutils] setuptools package_data behavior
Phillip J. Eby
pje at telecommunity.com
Tue Sep 20 21:25:18 CEST 2005
At 03:15 PM 9/20/2005 -0400, Greg Steffensen wrote:
>They are included when I do "setup.py bdist_egg", but for now I'd rather
>distribute using traditional tarballs. Am I doing something wrong?
>Also, the README is magically included in the sdist tarball no matter what
>I do, but I'd like to include COPYING, AUTHORS, etc. Is there a "correct"
>way to do this? Thanks,
By default, setuptools will include any file under Subversion or CVS
revision control in the source distribution. If you're not using one of
those revision control tools, you have to use the standard distutils
MANIFEST.in rules file to specify what files to include in the source
distribution. See here for more details:
More information about the Distutils-SIG