use setuptools_scm
@@ -13,12 +13,18 @@ source:
build:
number: 0
noarch: python
- script: {{ PYTHON }} -m pip install . -vv
+ script_env:
+ - SETUPTOOLS_SCM_PRETEND_VERSION={{ version }}
+ script:
+ - {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python >=3.7
+ - setuptools >=45
+ - setuptools_scm >=3.4
+ - toml
run:
- cffi >=1.12
- jax >0.2.16,<0.2.25
