[Distutils] setuptools 0.6c8 released

Phillip J. Eby pje at telecommunity.com
Tue Feb 19 16:08:28 CET 2008

At 08:32 PM 2/18/2008 -0800, Philip Jenvey wrote:

>On Feb 15, 2008, at 10:51 AM, Phillip J. Eby wrote:
>>This is the last 0.6 candidate release, barring regressions
>>introduced by changes in this release.  In one week, if there are no
>>regressions, 0.6 final will be released, so please report any bugs
>>0.6final will be the last OSAF-funded release of setuptools, as it
>>already exceeds the Chandler desktop's current and future
>>requirements, at least for the next year.
>>There remain various known issues and limitations, but these won't be
>>fixed in the 0.6 line.
>Did you see my last comment on the Jython thread, about eggs created
>on Jython? I was hoping you'd comment:

Yeah, I don't really know what to say about that.

>Also, I just came across an issue while installing simplejson on
>Jython, but I noticed it's also been reported on other platforms
>(native_libs.txt doesn't exist).
>It looks like it's due to the fact that simplejson includes an
>optional C speedup extension. It overrides the distutils build_ext
>command so it can swallow any compiler errors (and skip building the
>extension). I guess it must be faking out setuptools into thinking
>there'll be a native_libs.txt when there won't be. I'm going to
>investigate it more this week.

Hrm.  It's actually a setuptools bug.  The bdist_egg command either 
creates or deletes native_libs.txt in the working .egg-info 
directory, then copies to the built egg's EGG-INFO.  However, there's 
no reason for it to be in .egg-info, since native_libs.txt is only 
relevant for zipped .egg files.

The specific problem is that the source distribution of simplejson 
contains a native_libs.txt, which is therefore listed in the 
SOURCES.txt...  which is then used by the metadata copier to copy it 
into EGG-INFO...  right after it gets deleted by bdist_egg.

So, basically, bdist_egg should be writing or delete native_libs.txt 
only from EGG-INFO, and to fix the problem in existing builds, the 
egg_info command will need to always delete native_libs from the .egg-info.

>I also just noticed there's problems with ez_setup.py on jython on
>Windows -- though this might not be setuptools fault -- just FYI,
>it's on my radar to investigate that as well before your final release.


More information about the Distutils-SIG mailing list