ref: 5864b43982c2a4020bdd7c077f8c552a01d114cb
parent: 8d09036dba68f1b646c23d7167f967761c5fbaed
author: Paul Brossier <piem@piem.org>
date: Mon Oct 3 12:48:54 EDT 2016
Makefile: pass build_ext in test_pure_python{,_wheel}
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,7 @@
-rm -rf build/ python/gen/
-rm -f dist/*.egg
-pip install -v -r requirements.txt
- CFLAGS=-Os python setup.py bdist_egg
+ CFLAGS=-Os python setup.py build_ext $(ENABLE_DOUBLE) bdist_egg
[ "$(TRAVIS_OS_NAME)" == "osx" ] && easy_install --user dist/*.egg || \
easy_install dist/*.egg
nose2 -N 4
@@ -66,7 +66,7 @@
-rm -f dist/*.whl
-pip install -v -r requirements.txt
-pip install -v wheel
- CFLAGS=-Os python setup.py bdist_wheel --universal
+ CFLAGS=-Os python setup.py build_ext $(ENABLE_DOUBLE) bdist_wheel --universal
wheel install dist/*.whl
nose2 -N 4
pip uninstall -v -y aubio
@@ -79,6 +79,9 @@
clean:
$(WAFCMD) clean
+
+distclean:
+ $(WAFCMD) distclean
distcheck: checkwaf
$(WAFCMD) distcheck $(WAFOPTS) $(ENABLE_DOUBLE)