From 2595998362a2766f9e51d45db42b334452d812c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 21 Jul 2017 11:29:42 +0200 Subject: [PATCH] olapy: new component --- component/olapy/buildout.cfg | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 component/olapy/buildout.cfg diff --git a/component/olapy/buildout.cfg b/component/olapy/buildout.cfg new file mode 100644 index 000000000..ff5a44ea0 --- /dev/null +++ b/component/olapy/buildout.cfg @@ -0,0 +1,41 @@ +[buildout] +extends = + ../numpy/buildout.cfg + ../lxml-python/buildout.cfg + ../git/buildout.cfg + ../postgresql/buildout.cfg + +[olapy-repository] +recipe = slapos.recipe.build:gitclone +repository = https://github.com/abilian/olapy.git +branch = master +git-executable = ${git:location}/bin/git + +[olapy-develop] +recipe = zc.recipe.egg:develop +setup = ${olapy-repository:location} +environment = olapy-env +setup-eggs = + ${numpy:egg} + ${lxml-python:egg} + pip + +[olapy-dir] +recipe = slapos.cookbook:mkdirectory +directory = ${buildout:parts-directory}/olapy/ + +[olapy-env] +<= numpy-env +OLAPY_PATH = ${olapy-dir:directory} + +[olapy] +recipe = zc.recipe.egg:custom +egg = olapy +environment = olapy-env +setup-eggs = + ${numpy:egg} + ${lxml-python:egg} + pip +initialization = + import os + os.environ['OLAPY_PATH'] = "${olapy-dir:directory}" -- 2.30.9