add software for jio (mostly used to launch tests)
[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 mode = 0644
11
12 [python-setuptools]
13 # Hack to manually install setuptools outside of the Buildout environment.
14 # It is useful in case of using things like "python setup.py test" in eggs
15 # downloaded from source (so not using bildout magic).
16 # To be able to use it, you should in your instance do an:
17 # export PYTHONPATH=${:location} (defined in ${:environment})
18 location = ${buildout:parts-directory}/${:_buildout_section_name_}
19 environment = export PATH=${python2.7:location}/bin:$PATH; export PYTHONPATH=${:location};
20 stop-on-error = true
21 recipe = plone.recipe.command
22 update = true
23 # chmod is a hack, but the mode of hexagonit.recipe.download above didn't worked yet (there was new version recently)
24 command = ${:environment} (mkdir ${:location}; chmod 644 ${setuptools-download:location}/${setuptools-download:filename} ; sh ${setuptools-download:location}/${setuptools-download:filename} --install-dir ${:location}) || (rm -fr ${:location}; exit 1)