Skip to content
Snippets Groups Projects
Commit ed268139 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

[conda] use pip to install the package [skip ci]

parent d8723f45
No related branches found
No related tags found
No related merge requests found
Pipeline #54840 passed
...@@ -12,14 +12,15 @@ build: ...@@ -12,14 +12,15 @@ build:
script: script:
- cd {{ project_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 %}
- python setup.py install --single-version-externally-managed --record record.txt - "{{ PYTHON }} -m pip install . -vv"
requirements: requirements:
host: host:
- python {{ python }} - python {{ python }}
- setuptools {{ setuptools }} - setuptools {{ setuptools }}
- pip {{ pip }}
- bob.extension - bob.extension
- bob.math >2 - bob.math >2
- numpy {{ numpy }} - numpy {{ numpy }}
...@@ -50,11 +51,11 @@ test: ...@@ -50,11 +51,11 @@ test:
- conda inspect linkages -p $PREFIX {{ name }} # [not win] - conda inspect linkages -p $PREFIX {{ name }} # [not win]
- conda inspect objects -p $PREFIX {{ name }} # [osx] - conda inspect objects -p $PREFIX {{ name }} # [osx]
requires: requires:
- pytest - pytest {{ pytest }}
- pytest-cov - pytest-cov {{ pytest_cov }}
- coverage - coverage {{ coverage }}
- sphinx - sphinx {{ sphinx }}
- sphinx_rtd_theme - sphinx_rtd_theme {{ sphinx_rtd_theme }}
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