Pass SCM via SETUPTOOLS_SCM_PRETEND_VERSION
@@ -12,9 +12,9 @@ source:
build:
number: 0
- script:
- - "{{ PYTHON }} setup.py bdist_wheel --dist-dir=dist"
- - "{{ PYTHON }} -m pip install --find-links=dist --no-deps --ignore-installed --no-cache-dir -vvv {{ name }}"
+ script_env:
+ - SETUPTOOLS_SCM_PRETEND_VERSION={{version}}
+ script: "{{ PYTHON }} -m pip install . -vv"
requirements:
build:
