[Distutils] Including package_data in a source distribution

M.-A. Lemburg mal at egenix.com
Fri Nov 25 12:56:13 CET 2005


Noel O'Boyle wrote:
> 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.

This is probably a bug, since the package_data files are
not taken into account by the source distribution command
in distutils (sdist.py).

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Nov 25 2005)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Distutils-SIG mailing list