fix testing on pypy adendum

This commit is contained in:
Manuel Barkhau 2019-02-15 20:11:34 +01:00
parent 7172afdd81
commit 7239679296
2 changed files with 3 additions and 1 deletions

View file

@ -44,6 +44,9 @@ CONDA_ENV_NAMES := \
CONDA_ENV_PATHS := \
$(subst pypy,$(ENV_PREFIX)/$(PKG_NAME)_pypy,$(subst python=,$(ENV_PREFIX)/$(PKG_NAME)_py,$(subst .,,$(SUPPORTED_PYTHON_VERSIONS))))
# envname/bin/python is unfortunately not always the correct
# interpreter. In the case of pypy it is either envname/bin/pypy or
# envname/bin/pypy3
CONDA_ENV_BIN_PYTHON_PATHS := \
$(shell echo "$(CONDA_ENV_PATHS)" \
| sed 's!\(_py[[:digit:]]\+\)!\1/bin/python!g' \
@ -52,7 +55,6 @@ CONDA_ENV_BIN_PYTHON_PATHS := \
)
empty :=
literal_space := $(empty) $(empty)

0
src/pycalver/__main__.py Normal file → Executable file
View file