@@ -1,14 +1,15 | |||||
1 | #!/bin/bash |
|
1 | #!/bin/bash | |
2 | # On OS X only 0.49.1 works :( |
|
2 | # On OS X only 0.49.1 works :( | |
3 | pip3 install --upgrade --user meson==0.49.1 |
|
3 | pip3 install --upgrade --user meson==0.49.1 | |
4 | HERE=$( cd "$(dirname "$0")" ; pwd -P ) |
|
4 | HERE=$( cd "$(dirname "$0")" ; pwd -P ) | |
5 | mkdir build |
|
5 | mkdir build | |
6 | ~/Library/Python/3.7/bin/meson -Dcpp_args='-DQT_STATICPLUGIN' -Ddefault_library=static --prefix=/tmp/SciQLOP.app --bindir=Contents/MacOS build |
|
6 | ~/Library/Python/3.7/bin/meson -Dcpp_args='-DQT_STATICPLUGIN' -Ddefault_library=static --prefix=/tmp/SciQLOP.app --bindir=Contents/MacOS build | |
7 | cd build |
|
7 | cd build | |
8 | ninja |
|
8 | ninja | |
9 | ninja install |
|
9 | ninja install | |
10 | ~/Library/Python/3.7/bin/virtualenv --always-copy /tmp/SciQLOP.app |
|
10 | ~/Library/Python/3.7/bin/virtualenv --always-copy /tmp/SciQLOP.app | |
11 | ~/Library/Python/3.7/bin/virtualenv --relocatable /tmp/SciQLOP.app |
|
11 | ~/Library/Python/3.7/bin/virtualenv --relocatable /tmp/SciQLOP.app | |
|
12 | source /tmp/SciQLOP.app/bin/activate | |||
12 | /tmp/SciQLOP.app/bin/pip install git+https://github.com/jeandet/spwc |
|
13 | /tmp/SciQLOP.app/bin/pip install git+https://github.com/jeandet/spwc | |
13 | cp $HERE/SciQLOP_wrapper /tmp/SciQLOP.app/Contents/MacOS/ |
|
14 | cp $HERE/SciQLOP_wrapper /tmp/SciQLOP.app/Contents/MacOS/ | |
14 | chmod +x /tmp/SciQLOP.app/Contents/MacOS/SciQLOP_wrapper |
|
15 | chmod +x /tmp/SciQLOP.app/Contents/MacOS/SciQLOP_wrapper |
General Comments 0
You need to be logged in to leave comments.
Login now