- -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_wheel
- pip install dist/aubio-*.whl
- nose2 -N 4
+ -$(WAFCMD) distclean
+ ./setup.py clean
+ # install python requirements
+ pip install --verbose --requirement requirements.txt
+ # compile
+ CFLAGS=-Os python setup.py build $(ENABLE_DOUBLE)
+ # needs recompile, disabled
+ #./setup.py test
+ # install package
+ pip install --verbose .
+ # can clean twice
+ ./setup.py clean
+ ./setup.py clean
+ # run test with installed package
+ ./python/tests/run_all_tests --verbose
+ nose2 -N 4 #--verbose
+ # uninstall