Makefile: user install on osx
authorPaul Brossier <piem@piem.org>
Mon, 16 May 2016 05:35:25 +0000 (07:35 +0200)
committerPaul Brossier <piem@piem.org>
Mon, 16 May 2016 05:35:25 +0000 (07:35 +0200)
Makefile

index 9b76f3a..2e69120 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,8 @@ test_pure_python:
        -rm -f dist/*.egg
        -pip install -v -r requirements.txt
        CFLAGS=-Os python setup.py bdist_egg
-       easy_install dist/*.egg
+       [ "$(TRAVIS_OS_NAME)" == "osx" ] && easy_install --user dist/*.egg || \
+               easy_install dist/*.egg
        nose2 -N 4
        pip uninstall -v -y aubio