[Distutils] package_data not used by sdist command

Arve Knudsen arve.knudsen at gmail.com
Sat Feb 3 12:48:02 CET 2007

Funny, I seem to recall having raised the same issue, but not receiving much
in way of an answer. Glad to see it's being taken care of at least.


On 2/2/07, Phillip J. Eby <pje at telecommunity.com> wrote:
> At 09:33 AM 1/22/2007 -0500, Jim Fulton wrote:
> >It appears that the sdist command doesn't consult the data passed
> >in the package_data option to setup.  I want to name data
> >that isn't under version control for inclusion.  Because
> >sdist doesn't pay attention to package_data, the data I'm
> >naming isn't included in the source distribution.  It is included
> >if I build an egg directly.  This appears to me to be a bug.
> Yeah, there's a long and uninteresting history there.  :)  When I
> implemented package_data, I was already using a MANIFEST.in to include
> data
> in the sdist.  Then, Fred ported package_data back into the distutils from
> setuptools, and then *after* that I added sdist-thru-revision-control
> support, so the distutils never got it, and setuptools never appeared to
> need it (at least to me).
> Anyway, I don't know if a fix for this can go into 0.6 or not, depending
> on
> how extensive a change is required.  A patch would go a long way towards
> getting it into 0.6c6.  There are way too many 'c' releases and I'd really
> like 0.6 final out before *this* year's Pycon.  :)
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/distutils-sig/attachments/20070203/6f22236f/attachment.htm 

More information about the Distutils-SIG mailing list