Skip to content

Commit 73063bd

Browse files
committed
update conda recipe template
1 parent b966b34 commit 73063bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

conda-recipe/meta.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,11 @@ test:
4949
- tests
5050
requires:
5151
{% for dep in setup_py_data['extras_require']['dev'] %}
52+
{% if dep.startswith('torch>=') %} # pip: torch -> conda: pytorch
53+
- py{{ dep.lower() }}
54+
{% else %}
5255
- {{ dep.lower() }}
56+
{% endif %}
5357
{% endfor %}
5458
commands:
5559
- pytest

0 commit comments

Comments
 (0)