diff --git a/bob/devtools/templates/conda/meta.yaml b/bob/devtools/templates/conda/meta.yaml index e62a09eccefc6c73384a128e811f4beb5c436d2d..3beccf72454e2acafda97f6a733ce9d2615ef5b9 100644 --- a/bob/devtools/templates/conda/meta.yaml +++ b/bob/devtools/templates/conda/meta.yaml @@ -29,6 +29,9 @@ requirements: # place your other host dependencies here (same as requirements.txt) # use the format: # - numpy {{ numpy }} + + # Also place your optional dependencies here, like: + # - matplotlib {{ matplotlib }} run: - python - setuptools @@ -36,6 +39,10 @@ requirements: # Use the format: # - {{ pin_compatible('numpy') }} + # List your optional dependencies here, like: + # run_constrained: + # - {{ pin_compatible('matplotlib') }} + test: imports: - {{ name }} @@ -48,11 +55,11 @@ test: - conda inspect linkages -p $PREFIX {{ name }} # [not win] - conda inspect objects -p $PREFIX {{ name }} # [osx] requires: - - pytest - - pytest-cov - - coverage - - sphinx - - sphinx_rtd_theme + - pytest {{ pytest }} + - pytest-cov {{ pytest_cov }} + - coverage {{ coverage }} + - sphinx {{ sphinx }} + - sphinx_rtd_theme {{ sphinx_rtd_theme }} # extend this list with further test-time-only dependencies about: