From 99de6c65ff72a6bba7e7f485267d4ace4417b393 2019-04-21 12:20:05 From: Alexis Jeandet Date: 2019-04-21 12:20:05 Subject: [PATCH] OS X dmg build, activate venv to hide local packages Signed-off-by: Alexis Jeandet --- diff --git a/build_cfg/mac/build.sh b/build_cfg/mac/build.sh index 132c2d7..7ecec4a 100755 --- a/build_cfg/mac/build.sh +++ b/build_cfg/mac/build.sh @@ -9,6 +9,7 @@ ninja ninja install ~/Library/Python/3.7/bin/virtualenv --always-copy /tmp/SciQLOP.app ~/Library/Python/3.7/bin/virtualenv --relocatable /tmp/SciQLOP.app +source /tmp/SciQLOP.app/bin/activate /tmp/SciQLOP.app/bin/pip install git+https://github.com/jeandet/spwc cp $HERE/SciQLOP_wrapper /tmp/SciQLOP.app/Contents/MacOS/ chmod +x /tmp/SciQLOP.app/Contents/MacOS/SciQLOP_wrapper