set as vairable first
{% set name = "breadability" %}
{% set version = "0.1.20" %}
+{% set py_ver = PY_VER %}
package:
@@ -15,9 +16,9 @@ build:
noarch: python
entry_points:
- breadability = breadability.scripts.client:main
- - breadability-{{ env('PY_VER') }} = breadability.scripts.client:main
+ - breadability-{{ py_ver }} = breadability.scripts.client:main
- breadability_test = breadability.scripts.test_helper:main
- - breadability_test-{{ env('PY_VER') }} = breadability.scripts.test_helper:main
+ - breadability_test-{{ py_ver }} = breadability.scripts.test_helper:main
script: {{ PYTHON }} -m pip install . -vv
requirements:
@@ -36,9 +37,9 @@ test:
commands:
- pip check
- breadability --help
- - breadability-{{ env('PY_VER') }} --help
+ - breadability-{{ py_ver }} --help
- breadability_test --help
- - breadability_test-{{ env('PY_VER') }} --help
+ - breadability_test-{{ py_ver }} --help
requires:
- pip
