Moving scripts to their own dedicated directory.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
5bad125c44
commit
faae76fbbd
9 changed files with 16 additions and 4 deletions
32
scripts/build-macosx.sh
Executable file
32
scripts/build-macosx.sh
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/usr/bin/env bash
|
||||
cd "$(dirname "$(readlink -f "$0" || realpath "$0")")/.."
|
||||
|
||||
|
||||
rm $(find . -name "*.qmlc")
|
||||
rm $(find . -name "*.pyc")
|
||||
python3 -m pip install -U pyinstaller
|
||||
|
||||
# Building translations
|
||||
cd "LogarithmPlotter/i18n/"
|
||||
bash release.sh
|
||||
cd ../../
|
||||
|
||||
pyinstaller --add-data "LogarithmPlotter/qml:qml" \
|
||||
--add-data "LogarithmPlotter/i18n:i18n" \
|
||||
--add-data "LICENSE.md:." \
|
||||
--add-data "mac/logarithmplotterfile.icns:." \
|
||||
--add-data "README.md:." \
|
||||
--exclude-module "FixTk" \
|
||||
--exclude-module "tcl" \
|
||||
--exclude-module "tk" \
|
||||
--exclude-module "_tkinter" \
|
||||
--exclude-module "tkinter" \
|
||||
--exclude-module "Tkinter" \
|
||||
--noconsole \
|
||||
--noconfirm \
|
||||
--icon=mac/logarithmplotter.icns \
|
||||
--osx-bundle-identifier eu.ad5001.LogarithmPlotter \
|
||||
-n LogarithmPlotter \
|
||||
LogarithmPlotter/logarithmplotter.py
|
||||
|
||||
cp mac/Info.plist dist/LogarithmPlotter.app/Contents/Info.plist
|
Loading…
Add table
Add a link
Reference in a new issue