From 508ca3a9277dc6b058ba18bc00dd445bcc4254ae Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Tue, 5 Oct 2021 16:03:01 +0200 Subject: [PATCH] [conda] use pip check --- conda/meta.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/conda/meta.yaml b/conda/meta.yaml index fbfa05c8..f97be00a 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -13,9 +13,9 @@ build: script: - cd {{ environ.get('RECIPE_DIR') + '/..' }} {% if environ.get('BUILD_EGG') and not os.path.exists('dist') %} - - python setup.py sdist --formats=zip + - "{{ PYTHON }} setup.py sdist --formats=zip" {% endif %} - - {{ PYTHON }} -m pip install --no-deps --ignore-installed . + - "{{ PYTHON }} -m pip install . -vv" # installs the documentation source, readme to share/doc so it is available # during test time - install -d "${PREFIX}/share/doc/{{ name }}" @@ -56,12 +56,14 @@ requirements: test: requires: + - pip - sphinx_rtd_theme - pytest - pytest-cov imports: - {{ name }} commands: + - pip check - bdt -h - bdt -? - bdt --help -- GitLab