Skip to content

Commit

Permalink
update conda recipe template
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Apr 23, 2024
1 parent b966b34 commit 73063bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ test:
- tests
requires:
{% for dep in setup_py_data['extras_require']['dev'] %}
{% if dep.startswith('torch>=') %} # pip: torch -> conda: pytorch
- py{{ dep.lower() }}
{% else %}
- {{ dep.lower() }}
{% endif %}
{% endfor %}
commands:
- pytest
Expand Down

0 comments on commit 73063bd

Please sign in to comment.