[Distutils] Buildout not updating setuptools
Graham Stratton
gns24 at mythic-beasts.com
Sat Jul 7 20:07:57 CEST 2007
Hi Jim, thanks for your time.
>> and nor does running bin/buildout. The
>> result is that the Routes install fails with
>> The required version of setuptools (>=0.6c6) is not available, ...
>
> I tried to reproduce this, but was unable to.
Here's what I did on a clean ubuntu server from the VMWare appliance
site:
#Install the system setuptools (0.6c5):
$ sudo apt-get install subversion python-setuptools
$ svn co svn://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/ .
$ vi buildout.cfg
*****
[buildout]
parts = foxtrot
[foxtrot]
recipe = zc.recipe.egg
interpreter = python2.5
eggs = routes
******
$ python2.5 bootstrap.py
$ ls develop-eggs/
setuptools.egg-link
$ cat develop-eggs/setuptools.egg-link
/usr/lib/python2.5/site-packages
$ ls eggs/
zc.buildout-1.0.0b28-py2.5.egg
$./bin/buildout -v
Installing 'zc.buildout', 'setuptools'.
We have the best distribution that satisfies 'zc.buildout'.
Picked: zc.buildout = 1.0.0b28
We have a develop egg: setuptools 0.6c5
Installing 'zc.recipe.egg'.
We have the best distribution that satisfies 'zc.recipe.egg'.
Picked: zc.recipe.egg = 1.0.0b6
Uninstalling foxtrot.
Installing foxtrot.
Installing 'routes'.
We have no distributions for routes that satisfies 'routes'.
Couldn't find index page for 'routes' (maybe misspelled?)
Getting distribution for 'routes'.
We have a develop egg: setuptools 0.6c5
Running easy_install:
/usr/bin/python2.5 "-c" "from setuptools.command.easy_install import
main; main()" "-mUNxd" "/home/notroot/eggs/tmp_IqDV_" "-q" "/tmp/
tmpDtCTlqget_dist/Routes-1.7.tar.gz"
path=/usr/lib/python2.5/site-packages
The required version of setuptools (>=0.6c6) is not available, and
can't be installed while this script is running. Please install
a more recent version first.
(Currently using setuptools 0.6c5 (/usr/lib/python2.5/site-packages))
error: Setup script exited with 2
An error occured when trying to install Routes 1.7.Look above this
message for any errors thatwere output by easy_install.
While:
Installing foxtrot.
Getting distribution for 'routes'.
Error: Couldn't install: Routes 1.7
I hope that's useful output/input,
Graham
More information about the Distutils-SIG
mailing list