Skip to content

Commit b0337f9

Browse files
EliEli
authored andcommitted
Set version for conda to match the one from scm
1 parent b5d4d8e commit b0337f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

conda.recipe/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ build:
2323
script: {{ PYTHON }} -m pip install --no-deps --ignore-installed -vv .
2424
noarch: python
2525
number: 0
26+
script_env:
27+
- SETUPTOOLS_SCM_PRETEND_VERSION={{ PKG_VERSION }}
2628
entry_points:
2729
{% for name, reference in pyproject['project']['scripts'].items() %}
2830
- {{ name }} = {{ reference }}

0 commit comments

Comments
 (0)