Skip to content
Snippets Groups Projects
Commit 55e228d6 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Revert "[conda] Try to get rid of project_dir conda template variable"

This reverts commit 6eeb9aa5.
parent 6eeb9aa5
No related branches found
No related tags found
No related merge requests found
Pipeline #26137 passed
{% set name = 'bob.devtools' %} {% set name = 'bob.devtools' %}
{% set project_dir = environ.get('RECIPE_DIR') + '/..' %}
package: package:
name: {{ name }} name: {{ name }}
...@@ -11,7 +12,7 @@ build: ...@@ -11,7 +12,7 @@ build:
run_exports: run_exports:
- {{ pin_subpackage(name) }} - {{ pin_subpackage(name) }}
script: script:
- cd {{ environ.get('RECIPE_DIR') + '/..' }} - cd {{ project_dir }}
{% if environ.get('BUILD_EGG') %} {% if environ.get('BUILD_EGG') %}
- python setup.py sdist --formats=zip - python setup.py sdist --formats=zip
{% endif %} {% endif %}
...@@ -67,7 +68,7 @@ test: ...@@ -67,7 +68,7 @@ test:
- bdt ci build --help - bdt ci build --help
- bdt ci deploy --help - bdt ci deploy --help
- bdt ci pypi --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: about:
home: https://www.idiap.ch/software/bob/ home: https://www.idiap.ch/software/bob/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment