Commit e19e1fed authored by André Anjos's avatar André Anjos 💬

[conda] Standardize conda recipe to match changes for #5

parent e2d705ef
Pipeline #27283 passed with stages
in 8 minutes and 58 seconds
{% set name = 'bob.devtools' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
package:
name: {{ name }}
......@@ -12,7 +11,7 @@ build:
run_exports:
- {{ pin_subpackage(name) }}
script:
- cd {{ project_dir }}
- cd {{ environ.get('RECIPE_DIR') + '/..' }}
{% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip
{% endif %}
......@@ -85,7 +84,8 @@ test:
- bdt ci pypi --help
- bdt ci readme --help
- bdt ci clean --help
- sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc {{ project_dir }}/sphinx
- sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc sphinx
- if [ -n "${CI_PROJECT_DIR}" ]; then mv sphinx "${CI_PROJECT_DIR}/"; fi
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