diff --git a/conda/meta.yaml b/conda/meta.yaml index fb2bd5dfd40783ef1641bef9e74832101947aee6..ab4d4b8944dcea1af69e8c4523d235d7ba51aa36 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -26,9 +26,9 @@ build: script: - cd {{ environ.get('RECIPE_DIR') + '/..' }} {% if environ.get('BUILD_EGG') %} - - python setup.py sdist --formats=zip + - "{{ PYTHON }} setup.py sdist --formats=zip" {% endif %} - - python setup.py install --single-version-externally-managed --record record.txt + - "{{ 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 }}" @@ -38,29 +38,36 @@ requirements: host: - python {{ python }} - setuptools {{ setuptools }} + - pip {{ pip }} + - bob.extension + - beat.backend.python + - beat.core >1.9.0 + - termcolor {{ termcolor }} + - docopt {{ docopt }} + - click {{ click }} + - click-plugins {{ click_plugins }} + - graphviz {{ graphviz }} + - ncurses {{ ncurses }} + - pillow {{ pillow }} + run: - python - setuptools - - beat.backend.python - - beat.core >1.9.0 - - termcolor - - docopt - - click - - click-plugins - - graphviz - - ncurses - - pillow + - {{ pin_compatible('termcolor') }} + - {{ pin_compatible('docopt') }} + - {{ pin_compatible('click') }} + - {{ pin_compatible('click-plugins') }} + - {{ pin_compatible('graphviz') }} + - {{ pin_compatible('ncurses') }} + - {{ pin_compatible('pillow') }} test: requires: - - bob-devel {{ bob_devel }}.* - - beat-devel {{ beat_devel }}.* - - bob.extension - - nose - - coverage - - sphinx - - sphinx_rtd_theme - - sphinxcontrib-programoutput + - nose {{ nose }} + - coverage {{ coverage }} + - sphinx {{ sphinx }} + - sphinx_rtd_theme {{ sphinx_rtd_theme }} + - sphinxcontrib-programoutput {{ sphinxcontrib_programoutput }} imports: - {{ name }}