set python version dynamically
@@ -15,7 +15,9 @@ build:
noarch: python
entry_points:
- breadability = breadability.scripts.client:main
+ - breadability-{{ "%d.%d" % sys.version_info[:2] }} = breadability.scripts.client:main
- breadability_test = breadability.scripts.test_helper:main
+ - breadability_test-{{ "%d.%d" % sys.version_info[:2] }} = breadability.scripts.test_helper:main
script: {{ PYTHON }} -m pip install . -vv
requirements:
@@ -34,7 +36,9 @@ test:
commands:
- pip check
- breadability --help
+ - breadability-{{ "%d.%d" % sys.version_info[:2] }} --help
- breadability_test --help
+ - breadability_test-{{ "%d.%d" % sys.version_info[:2] }} --help
requires:
- pip
