[Distutils] Where is the setuptools source repository?

Jim Fulton jim at zope.com
Thu Jul 2 11:43:55 CEST 2009


On Jul 2, 2009, at 5:25 AM, Tarek Ziadé wrote:

>>>> (Btw, 'package_data' will cause things to get included at install  
>>>> time,
>>>> but
>>>> it does not put them into sdist.  You'll need to use MANIFEST.in  
>>>> or a
>>>> revision-control plugin to get data files included in an sdist.)
>>>
>>> At distutils level, that's not true anymore with the current  
>>> distutils
>>> trunk though, which includes
>>> package_data files without having to put them in the MANIFEST  
>>> template
>>
>>
>> Interesting.  I didn't realize that this changed.  This works at  
>> least as
>> far back as Python 2.4, so if it changed, it changed some time  
>> ago.  Of
>> course, the documentation:
>>
>>  http://docs.python.org/distutils/setupscript.html#installing-package-data
>>
>> indicates it should work. It also indicates that this option is new  
>> in
>> Python 2.4.
>
> I can't find in the svn logs such changes. Are we talking about the  
> same issue ?

> e.g. being forced to define package_data files in the MANIFEST.in
> template to have them included
> by sdist ?
>
> What happened is that someone added an issue complaining that defined
> package_data were
> not installed, *unless* defined in the MANIFEST.in,

Gaaaa.  Being more careful in my experimentation, I've found that  
package_data only seems to work if setuptools is used.  What's worse,  
only files checked into svn are included even when using package_data,  
so my theory about package_data being explicit and not dependent on  
the revision control system uses is wrong. :(

Jim

Of course, it's depressing that a packaging system requires so much  
experimentation to understand.

--
Jim Fulton
Zope Corporation




More information about the Distutils-SIG mailing list