Skip to content

Commit

Permalink
use SETUPTOOLS_SCM_PRETEND_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jun 28, 2024
1 parent cd886d5 commit 0787de1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ source:

build:
number: 5
script: {{ PYTHON }} -m pip install . -vv
script:
- export SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} # [unix]
- set "SETUPTOOLS_SCM_PRETEND_VERSION={{ version }}" # [win]
- {{ PYTHON }} -m pip install . -vv

requirements:
build:
Expand Down

0 comments on commit 0787de1

Please sign in to comment.