fixup setuptools

parent 3f8cdef3
[buildout] [buildout]
parts = setuptools parts = python-setuptools
[setuptools-download] [setuptools-download]
recipe = slapos.recipe.download recipe = slapos.recipe.download
...@@ -7,7 +7,7 @@ filename = setuptools-0.6c11-py2.7.egg ...@@ -7,7 +7,7 @@ filename = setuptools-0.6c11-py2.7.egg
url = http://pypi.python.org/packages/2.7/s/setuptools/${:filename} url = http://pypi.python.org/packages/2.7/s/setuptools/${:filename}
md5sum = fe1f997bc722265116870bc7919059ea md5sum = fe1f997bc722265116870bc7919059ea
[setuptools] [python-setuptools]
# Hack to manually install setuptools outside of the Buildout environment. # Hack to manually install setuptools outside of the Buildout environment.
# It is useful in case of using things like "python setup.py test" in eggs # It is useful in case of using things like "python setup.py test" in eggs
# downloaded from source (so not using bildout magic). # downloaded from source (so not using bildout magic).
...@@ -18,5 +18,4 @@ environment = export PATH=${python2.7:location}/bin:$PATH; export PYTHONPATH=${: ...@@ -18,5 +18,4 @@ environment = export PATH=${python2.7:location}/bin:$PATH; export PYTHONPATH=${:
stop-on-error = true stop-on-error = true
recipe = plone.recipe.command recipe = plone.recipe.command
update = true update = true
command = ${:environment}; (mkdir ${:location}; sh ${setuptools-download:location}/${setuptools-download:filename} --install-dir ${:location}) || (rm -fr ${:location}; exit 1) command = ${:environment} (mkdir ${:location}; sh ${setuptools-download:location}/${setuptools-download:filename} --install-dir ${:location}) || (rm -fr ${:location}; exit 1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment