[Distutils] Availability of setuptools installer for python2.6?

Phillip J. Eby pje at telecommunity.com
Tue Oct 7 03:18:17 CEST 2008

At 10:25 PM 10/6/2008 +0100, Paul Moore wrote:
>2008/10/6 Phillip J. Eby <pje at telecommunity.com>:
> > At 12:05 PM 10/6/2008 -0700, Chris Mahan wrote:
> >>
> >> Phillip,
> >>
> >> At
> >> 
> <http://pypi.python.org/pypi/setuptools>http://pypi.python.org/pypi/setuptools
> >> there is no MS windows installer for python 2.6.
> >>
> >> Do you have an idea of when that might be available?
> >
> > No, it'll likely be a while before I'm doing anything with 
> 2.6.  Ian Bicking
> > now has privs for the setuptools PyPI entry, so perhaps he could 
> upload one.
> >  (There actually isn't anything Windows-specific about it; all the .exe
> > installers that I upload are actually built on a Linux machine.)
>This is a really frustrating aspect of setuptools, that pure-Python
>packages produce version-specific installers.

Actually, that's not setuptools' fault in this case; I specifically 
make the .exe's version-specific because they have different 
contents.  Different versions of Python include different distutils 
commands, and setuptools needs to install different things.  So even 
though it's "pure" Python (ha!) it is still Python-version specific.

>I'm sure I've seen an
>explanation of why this is necessary somewhere before, but I can't
>recall precisely where (and I don't really have time to wade through
>all the setuptools documentation to see if it's in there - it wasn't
>obvious from reading the contents). Can anyone give me a quick pointer
>to the explanation?

Eggs contain bytecode, and bytecode is Python version-specific.

More information about the Distutils-SIG mailing list