Commit 1dc5cf5f authored by André Anjos's avatar André Anjos 💬

[conda] Re-use project_dir

parent 0ae1e814
Pipeline #25703 failed with stages
in 13 minutes and 2 seconds
{% set name = 'bob.devtools' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
package:
name: {{ name }}
......@@ -11,12 +12,13 @@ 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 %}
- python setup.py install --single-version-externally-managed --record record.txt
# installs the documentation source, readme and license to share/doc
# so it is available during test time
- install -d ${PREFIX}/share/doc/{{ name }}
- install -m 644 -D README.rst ${PREFIX}/share/doc/{{ name }}
- install -m 644 -D LICENSE ${PREFIX}/share/doc/{{ name }}
......@@ -51,7 +53,7 @@ test:
- bdt lasttag --help
- bdt changelog --help
- bdt release --help
- sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc {{ environ.get('RECIPE_DIR') + '/../sphinx' }}
- sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc {{ project_dir }}/sphinx
about:
home: https://www.idiap.ch/software/bob/
......
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