[buildout]
extends =
  ../cython/buildout.cfg
  ../scipy/buildout.cfg
parts =
  pycocotools

[python-cocoapi-repository]
recipe = slapos.recipe.build:gitclone
repository = https://github.com/cocodataset/cocoapi.git
git-executable = ${git:location}/bin/git
revision = 0d86027d941482ae9649fb9e6e871704efc48b06

[pycocotools]
recipe = zc.recipe.egg:develop
egg = ${:_buildout_section_name_}
setup = ${python-cocoapi-repository:location}/PythonAPI
environment = scipy-env
setup-eggs =
  ${cython:egg}
  ${numpy:egg}
  ${scipy:egg}
