Use consistent versioning
@@ -8,13 +8,15 @@ package:
version: {{ version }}
source:
+ fn: {{ pypiname }}-{{ version }}.tar.gz
url: https://pypi.io/packages/source/{{ pypiname[0] }}/{{ pypiname }}/{{ pypiname }}-{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
noarch: python
number: 0
- script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
+ script: package_version={{ version }} python -m pip install --no-deps --ignore-installed . # [not win]
+ script: set "package_version={{ version }}" && python -m pip install --no-deps --ignore-installed . # [win]
requirements:
host:
