[Distutils] Setuptools for Python 2.5
Paul Moore
p.f.moore at gmail.com
Tue Sep 12 23:19:58 CEST 2006
ez_setup won't install with Python 2.5c1 - presumably, because there
isn't a Python 2.5 egg available from the Cheeseshop. I'd have
expected it to build from sources in the absence of a suitable egg.
Given that it doesn't, how do I build and install setuptools on 2.5c1
(on Windows)? I've downloaded and run setup.py bdist_egg, but how do I
get it installed "properly"? I could just build a bdist_wininst and
install that, but that's the "old way", and I want to try out the new
approach.
After I've built the egg, running ez_setup from the setuptools build
directory says that setuptools is already installed. Presumably
because it's adding the current directory to sys.path, and setuptools
*is* in the current directory...
I could probably work all this out with some effort from the existing
documentation, but that's not my point. I've skimmed the docs, tried
ez_setup as described, hit an issue because there's no
version-specific build[1] and then hit a wall, as there aren't any
pointers as to where to go from here.
Can anyone give me some hints? And would it be worth updating the
documentation with an explanation of how to handle this (dealing with
the lack of a published binary of a package for your specific version
of Python - how to find out what you need to build for yourself, where
to put things when you have built them, etc etc).
I have a sinking feeling that the next thing I'll hit is that once I
have setuptools installed, easy_install TurboGears (for example) will
also fail from lack of Python 2.5 binaries, and I'll be stuck again...
Thanks,
Paul.
[1] This is particularly frustrating, as setuptools is pure Python, so
why do I need a version-specific build? I don't with bdist_wininst....
More information about the Distutils-SIG
mailing list