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