Merge remote-tracking branch 'origin/erp5-component' into erp5-component-merge
[slapos.git] / component / python-setuptools / buildout.cfg
1 [buildout]
2 parts = python-setuptools
3
4 [setuptools-download]
5 recipe = hexagonit.recipe.download
6 download-only = true
7 filename = setuptools-0.6c11-py2.7.egg
8 url = http://pypi.python.org/packages/2.7/s/setuptools/${:filename}
9 md5sum = fe1f997bc722265116870bc7919059ea
10
11 [python-setuptools]
12 # Hack to manually install setuptools outside of the Buildout environment.
13 # It is useful in case of using things like "python setup.py test" in eggs
14 # downloaded from source (so not using bildout magic).
15 # To be able to use it, you should in your instance do an:
16 # export PYTHONPATH=${:location} (defined in ${:environment})
17 location = ${buildout:parts-directory}/${:_buildout_section_name_}
18 environment = export PATH=${python2.7:location}/bin:$PATH; export PYTHONPATH=${:location};
19 stop-on-error = true
20 recipe = plone.recipe.command
21 update = true
22 command = ${:environment} (mkdir ${:location}; sh ${setuptools-download:location}/${setuptools-download:filename} --install-dir ${:location}) || (rm -fr ${:location}; exit 1)