Currently, the ez_setup.py in the TurboGears SVN still specifies
DEFAULT_VERSION = "0.6a9dev_r41857", so when running "python setup.py
develop" I get:

The required version of setuptools (>=0.6a9dev_r41857) is not
available, and can't be installed while this script is running. Please
install a more recent version first.

Replacing that file with the 0.6a8 ez_setup.py worked for me, and I
was able to run "python setup.py develop" successfully.

One other thing I noticed while doing so: the setup.py script
specifies "simple_json >= 1.0" (with an underscore), yet when it goes
looking in PyPI, it does:

Searching for simple-json>=1.0
Reading http://www.python.org/pypi/simple-json/
Couldn't find index page for 'simple-json' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
Reading http://www.python.org/pypi/simple_json/1.0
Reading http://undefined.org/python/#simple_json
Best match: simple-json 1.0
Downloading 
http://cheeseshop.python.org/packages/2.4/s/simple_json/simple_json-1.0-py2.4.egg
Processing simple_json-1.0-py2.4.egg
Moving simple_json-1.0-py2.4.egg to /usr/lib/python2.4/site-packages
Adding simple-json 1.0 to easy-install.pth file

Installed /usr/lib/python2.4/site-packages/simple_json-1.0-py2.4.egg


Note the various combinations of underscore vs. hyphen there. Weird.
It seems to work, but this feels like a lurking bug waiting to strike
sometime, somewhere.

--
Robin Munn
[EMAIL PROTECTED]
GPG key 0xD6497014

Reply via email to