[Distutils] Including package_data in a source distribution

Noel O'Boyle no228 at cam.ac.uk
Fri Nov 25 12:35:48 CET 2005


Dear all,

I have been trying to use either distutils or setuptools to include some
package data in a source distribution ("python setup.py sdist") using
the package_data option. It *is* included if I use "python setup.py
bdist_egg".

Can someone explain to me whether this is a feature or a bug? The
documentation led me to expect that this would work, but it does not. I
am using the example on
http://www.python.org/dev/doc/devel/dist/node12.html.

Regards,
Noel O'Boyle.



More information about the Distutils-SIG mailing list