Skip to content

Commit 4a3b8a3

Browse files
committed
Tell pip to install the package being built for conda from PyPI
1 parent 9d4cb83 commit 4a3b8a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

repo_helper/templates/conda_recipe.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ source:
77

88
build:
99
noarch: python
10-
{% raw %}script: "{{ PYTHON }} -m pip install . -vv"{% endraw %}
10+
{% raw %}script: "{{ PYTHON }} {% endraw %}-m pip install {{ pypi_name }}=={{ version }} -vv --index-url https://pypi.org/simple"
1111

1212
requirements:
1313
build:
1414
- python
1515
- setuptools
1616
- wheel
1717
{% if use_experimental_backend %} - repo_helper
18+
{% elif use_whey %} - whey
1819
{% endif %} host:
1920
- pip
2021
- python

0 commit comments

Comments
 (0)