diff --git a/conda/meta.yaml b/conda/meta.yaml index 57732da148405d8da41eba92c817fbed9d5c7f35..7e932ccce16bef6bcc915fe1097abdff84fbd6ea 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -12,7 +12,7 @@ build: - {{ pin_subpackage(name) }} script: - cd {{ environ.get('RECIPE_DIR') + '/..' }} - {% if environ.get('BUILD_EGG') and not path.exists('dist') %} + {% if environ.get('BUILD_EGG') and not os.path.exists('dist') %} - python setup.py sdist --formats=zip {% endif %} - {{ PYTHON }} -m pip install --no-deps --ignore-installed . @@ -108,7 +108,7 @@ test: - bdt gitlab graph --help - bdt gitlab badges --help - sphinx-build -aEW ${PREFIX}/share/doc/{{ name }}/doc sphinx - {% if not path.exists('sphinx') %} + {% if not os.path.exists('sphinx') %} - if [ -n "${CI_PROJECT_DIR}" ]; then mv sphinx "${CI_PROJECT_DIR}/"; fi {% endif %}