Use set and export for scm version
@@ -13,7 +13,10 @@ source:
build:
number: 0
noarch: python
- script: SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} {{ PYTHON }} -m pip install . -vv
+ script:
+ - export SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} # [unix]
+ - set SETUPTOOLS_SCM_PRETEND_VERSION={{ version }} # [win]
+ - {{ PYTHON }} -m pip install . --no-deps -vv
requirements:
host:
