build.sh
15 lines
| 637 B
| application/x-sh
|
BashLexer
r620 | #!/bin/bash | |||
r1453 | # On OS X only 0.49.1 works :( | |||
pip3 install --upgrade --user meson==0.49.1 | ||||
HERE=$( cd "$(dirname "$0")" ; pwd -P ) | ||||
r620 | mkdir build | |||
r1453 | ~/Library/Python/3.7/bin/meson -Dcpp_args='-DQT_STATICPLUGIN' -Ddefault_library=static --prefix=/tmp/SciQLOP.app --bindir=Contents/MacOS build | |||
r620 | cd build | |||
ninja | ||||
ninja install | ||||
r1453 | ~/Library/Python/3.7/bin/virtualenv --always-copy /tmp/SciQLOP.app | |||
~/Library/Python/3.7/bin/virtualenv --relocatable /tmp/SciQLOP.app | ||||
r1454 | source /tmp/SciQLOP.app/bin/activate | |||
r1510 | /tmp/SciQLOP.app/bin/pip install speasy | |||
r1453 | cp $HERE/SciQLOP_wrapper /tmp/SciQLOP.app/Contents/MacOS/ | |||
chmod +x /tmp/SciQLOP.app/Contents/MacOS/SciQLOP_wrapper | ||||