Skip to content
Snippets Groups Projects
Commit c03c6a58 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[conda] Refactor the recipe to follow bob's latest standard

parent cf9dc8dc
No related branches found
No related tags found
1 merge request!152Refactor the conda recipe to follow bob's latest standard
...@@ -12,36 +12,41 @@ build: ...@@ -12,36 +12,41 @@ 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 }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" - "{{ 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 }}"
- cp -R README.rst requirements.txt doc "${PREFIX}/share/doc/{{ name }}/"
requirements: requirements:
host: host:
- pip
- python {{ python }} - python {{ python }}
- setuptools {{ setuptools }} - setuptools {{ setuptools }}
- pip {{ pip }}
- bob.extension
- beat.cmdline >=1.10.2
- docopt {{ docopt }}
- click {{ click }}
- click-plugins {{ click_plugins }}
run: run:
- python - python
- setuptools - setuptools
- pyqt - pyqt
- click - {{ pin_compatible('docopt') }}
- click-plugins - {{ pin_compatible('click') }}
- docopt - {{ pin_compatible('click-plugins') }}
- beat.cmdline >=1.10.2
test: test:
requires: requires:
- bob-devel {{ bob_devel }}.* - pytest {{ pytest }}
- beat-devel {{ beat_devel }}.*
- bob.extension
- pytest
- pytest-qt - pytest-qt
- pytest-cov - pytest-cov {{ pytest_cov }}
- coverage - coverage {{ coverage }}
- sphinx - sphinx {{ sphinx }}
- sphinx_rtd_theme - sphinx_rtd_theme {{ sphinx_rtd_theme }}
imports: imports:
- {{ name }} - {{ name }}
......
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