package_data not used by sdist command
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. Jim -- Jim Fulton mailto:jim@zope.com Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org
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. :)
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.
Arve
On 2/2/07, Phillip J. Eby
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@python.org http://mail.python.org/mailman/listinfo/distutils-sig
participants (3)
-
Arve Knudsen
-
Jim Fulton
-
Phillip J. Eby