[buildout] extends = ../python3/buildout.cfg ../gcc/buildout.cfg [buildout] parts = cython_nogil [cython] recipe = slapos.recipe.build:gitclone git-executable = ${git:location}/bin/git repository = https://lab.nexedi.com/gsamain/cython.git location = ${buildout:parts-directory}/${:_buildout_section_name_} branch = nogil_extension_lwan_ccdef_break_it [cython_nogil] recipe = plone.recipe.command stop-on-error = true update-command = true location = ${cython:location} python3-binary = ${python3.5:location}/bin/python3 command = (PATH=${gcc:location}:$PATH && cd ${cython:location} && ${:python3-binary} setup.py install && cd ${cython:location}/nogil_test && ${:python3-binary} nogil_extension_test.py build_ext install)