From 55e228d685878677f11008462eec3cb445bcd1d7 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Sun, 20 Jan 2019 19:57:26 +0100 Subject: [PATCH] Revert "[conda] Try to get rid of project_dir conda template variable" This reverts commit 6eeb9aa50de10825e60cb4cc3baaef9a569ff8b2. --- conda/meta.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index 2f37fe8c..afac334e 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,4 +1,5 @@ {% set name = 'bob.devtools' %} +{% set project_dir = environ.get('RECIPE_DIR') + '/..' %} package: name: {{ name }} @@ -11,7 +12,7 @@ build: run_exports: - {{ pin_subpackage(name) }} script: - - cd {{ environ.get('RECIPE_DIR') + '/..' }} + - cd {{ project_dir }} {% if environ.get('BUILD_EGG') %} - python setup.py sdist --formats=zip {% endif %} @@ -67,7 +68,7 @@ test: - bdt ci build --help - bdt ci deploy --help - bdt ci pypi --help - - sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc sphinx + - sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc {{ project_dir }}/sphinx about: home: https://www.idiap.ch/software/bob/ -- GitLab