On 13-02-13 00:14, Chris Withers wrote:
http://jenkins.simplistix.co.uk/job/checker-buildout/82/PYTHON=2.5,label=mac/console
What's going on there?
bootstrap.py:87: UserWarning: Module pkg_resources was already imported
from
/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.pyc,
but
/private/var/folders/gx/vng89lf956g540rf6xfbpmtr00007b/T/tmpTmvLp1/distribute-0.6.34-py2.5.egg
is being added to sys.path
pkg_resources.working_set.add_entry(path)
bootstrap.py:87: UserWarning: Module site was already imported from
/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site.pyc,
but
/private/var/folders/gx/vng89lf956g540rf6xfbpmtr00007b/T/tmpTmvLp1/distribute-0.6.34-py2.5.egg
is being added to sys.path
pkg_resources.working_set.add_entry(path)
Traceback (most recent call last):
File "bootstrap.py", line 154, in <module>
ws.require(requirement)
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py",
line 620, in require
needed = self.resolve(parse_requirements(requirements))
File
"/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/pkg_resources.py",
line 518, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: setuptools
This looks like the distribute install didn't reliably overwrite
setuptools. Setuptools is gone, but the methods that distribute
overwrites to let you find 'distribute' instead of 'setuptools are found
*after* the old setuptools ones.
> Anyway, not being that fussed about Buildout 2 for this library, I
> thought I'd switch back to 1 using
> http://downloads.buildout.org/1/bootstrap.py, but this doesn't seem to
> keep me on buildout 1.x anymore:
>
>
http://jenkins.simplistix.co.uk/job/checker-buildout/83/PYTHON=2.5,label=mac/console
I see the test in the bootstrap.py for '<2dev' that should get you the
latest stable 1.x release (so: 1.7.0). This works fine for me locally.
The setuptools it uses for me is "setuptools-0.6c12dev_r88846-py2.7" and
in your output I see setuptools-0.6c11-py2.5.egg.
I hacked 0.6c11 into my setup and still the result is the same: 1.7.0.
Could you add a debug print statement before the "if is_jython" line?:
print "++++++++++++++++++++++"
print cmd
print "++++++++++++++++++++++"
Reinout
--
Reinout van Rees http://reinout.vanrees.org/
rein...@vanrees.org http://www.nelen-schuurmans.nl/
"If you're not sure what to do, make something. -- Paul Graham"
_______________________________________________
Distutils-SIG maillist - Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig