Makefile: use bdist_wheel in test_pure_python
authorPaul Brossier <piem@piem.org>
Thu, 17 Nov 2016 13:04:28 +0000 (14:04 +0100)
committerPaul Brossier <piem@piem.org>
Thu, 17 Nov 2016 13:04:28 +0000 (14:04 +0100)
Makefile

index 3658a73..56497f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,9 +54,8 @@ test_pure_python:
        -rm -rf build/ python/gen/
        -rm -f dist/*.egg
        -pip install -v -r requirements.txt
-       CFLAGS=-Os python setup.py build_ext $(ENABLE_DOUBLE) bdist_egg
-       [ "$(TRAVIS_OS_NAME)" == "osx" ] && easy_install --user dist/*.egg || \
-               easy_install dist/*.egg
+       CFLAGS=-Os python setup.py build_ext $(ENABLE_DOUBLE) bdist_wheel
+       pip install dist/aubio-*.whl
        nose2 -N 4
        pip uninstall -v -y aubio