diff --git a/conda/meta.yaml b/conda/meta.yaml index 8fc171e2980552ce74d0f5d3fd98910976f8c757..a4cdabae11fca41168d10478a665ddc480522122 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -12,36 +12,41 @@ build: script: - cd {{ project_dir }} {% if environ.get('BUILD_EGG') %} - - python setup.py sdist --formats=zip + - "{{ PYTHON }} setup.py sdist --formats=zip" {% 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: host: - - pip - python {{ python }} - setuptools {{ setuptools }} + - pip {{ pip }} + - bob.extension + - beat.cmdline >=1.10.2 + - docopt {{ docopt }} + - click {{ click }} + - click-plugins {{ click_plugins }} run: - python - setuptools - pyqt - - click - - click-plugins - - docopt - - beat.cmdline >=1.10.2 + - {{ pin_compatible('docopt') }} + - {{ pin_compatible('click') }} + - {{ pin_compatible('click-plugins') }} test: requires: - - bob-devel {{ bob_devel }}.* - - beat-devel {{ beat_devel }}.* - - bob.extension - - pytest + - pytest {{ pytest }} - pytest-qt - - pytest-cov - - coverage - - sphinx - - sphinx_rtd_theme + - pytest-cov {{ pytest_cov }} + - coverage {{ coverage }} + - sphinx {{ sphinx }} + - sphinx_rtd_theme {{ sphinx_rtd_theme }} imports: - {{ name }}