add same logic to sumy package as well
{% set name = "sumy" %}
{% set version = "0.8.1" %}
+{% set py_ver = PY_VER %}
package:
@@ -15,9 +16,9 @@ build:
noarch: python
entry_points:
- sumy = sumy.__main__:main
- - sumy-3.8 = sumy.__main__:main
+ - sumy-{{ py_ver }} = sumy.__main__:main
- sumy_eval = sumy.evaluation.__main__:main
- - sumy_eval-3.8 = sumy.evaluation.__main__:main
+ - sumy_eval-{{ py_ver }} = sumy.evaluation.__main__:main
script: {{ PYTHON }} -m pip install . -vv
requirements:
@@ -39,9 +40,9 @@ test:
commands:
- pip check
- sumy --help
- - sumy-3.8 --help
+ - sumy-{{ py_ver }} --help
- sumy_eval --help
- - sumy_eval-3.8 --help
+ - sumy_eval-{{ py_ver }} --help
requires:
- pip
