From bf7dfdcc707997aeca6bd962d5e2683c4b1d2513 Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Sat, 8 Dec 2018 23:20:46 +0100 Subject: [PATCH] test wheel instead of src --- makefile | 4 +++- setup.py | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index b94006b..d8079d3 100644 --- a/makefile +++ b/makefile @@ -339,11 +339,13 @@ test: test/ src/; # Next we install the package and run the test suite against it. + mkdir -p build/test_wheel; + $(DEV_ENV_PY) setup.py bdist_wheel --dist-dir build/test_wheel; IFS=' ' read -r -a env_paths <<< "$(CONDA_ENV_PATHS)"; \ for i in $${!env_paths[@]}; do \ env_py=$${env_paths[i]}/bin/python; \ - $${env_py} -m pip install --upgrade .; \ + $${env_py} -m pip install --upgrade build/test_wheel/*.whl; \ ENV=$${ENV-dev} $${env_py} -m pytest test/; \ done; diff --git a/setup.py b/setup.py index 8f2bd36..ff26a3f 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,6 @@ setuptools.setup( [console_scripts] pycalver=pycalver.__main__:cli """, - python_requires=">=3.6", zip_safe=True, classifiers=[ "Development Status :: 4 - Beta",