Commit 945b6cf1 authored by Jérome Perrin's avatar Jérome Perrin

olapy: use a simpler recipe to create dir

referencing slapos.cookbook:mkdirectory tries to install lxml before
slapos-cookbook part is installed, so the egg build script do not use
slapos libxml2.
parent c57aa450
...@@ -19,13 +19,12 @@ setup-eggs = ...@@ -19,13 +19,12 @@ setup-eggs =
${lxml-python:egg} ${lxml-python:egg}
pip pip
[olapy-dir] [olapy-data-dir]
recipe = slapos.cookbook:mkdirectory recipe = z3c.recipe.mkdir
directory = ${buildout:parts-directory}/olapy/
[olapy-env] [olapy-env]
<= numpy-env <= numpy-env
OLAPY_PATH = ${olapy-dir:directory} OLAPY_PATH = ${olapy-data-dir:paths}
[olapy] [olapy]
recipe = zc.recipe.egg:custom recipe = zc.recipe.egg:custom
...@@ -37,4 +36,4 @@ setup-eggs = ...@@ -37,4 +36,4 @@ setup-eggs =
pip pip
initialization = initialization =
import os import os
os.environ['OLAPY_PATH'] = "${olapy-dir:directory}" os.environ['OLAPY_PATH'] = "${olapy-data-dir:paths}"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment