aboutsummaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorDave Crossland2015-10-23 16:31:26 -0200
committerDave Crossland2015-10-23 16:51:11 -0200
commit5745e6af61671cb5c131a31d28f79a0ed5a8c4b1 (patch)
tree15934b01f465558a8d9af654b2240ef2f64e52b4 /Lib
parentff35576986cb7a1a954b0b67bf66ecf78b8f5f6d (diff)
downloadtrufont-5745e6af61671cb5c131a31d28f79a0ed5a8c4b1.tar.bz2
Add Lib/TruFont.spec
Update Lib/build.sh to use spec file
Diffstat (limited to 'Lib')
-rw-r--r--Lib/TruFont.spec37
-rw-r--r--Lib/build.sh2
2 files changed, 38 insertions, 1 deletions
diff --git a/Lib/TruFont.spec b/Lib/TruFont.spec
new file mode 100644
index 0000000..39f0afe
--- /dev/null
+++ b/Lib/TruFont.spec
@@ -0,0 +1,37 @@
+# -*- mode: python -*-
+
+block_cipher = None
+
+
+a = Analysis(['defconQt/__main__.py'],
+ binaries=None,
+ datas=None,
+ hiddenimports=[],
+ hookspath=None,
+ runtime_hooks=None,
+ excludes=None,
+ win_no_prefer_redirects=None,
+ win_private_assemblies=None,
+ cipher=block_cipher)
+pyz = PYZ(a.pure, a.zipped_data,
+ cipher=block_cipher)
+exe = EXE(pyz,
+ a.scripts,
+ a.binaries,
+ a.zipfiles,
+ a.datas,
+ name='TruFont',
+ debug=False,
+ strip=None,
+ upx=True,
+ console=False,
+ icon='defconQt/resources/app.ico')
+app = BUNDLE(exe,
+ name='TruFont.app',
+ icon='defconQt/resources/app.icns',
+ bundle_identifier=None,
+ info_plist={
+ 'NSHighResolutionCapable': 'True',
+ 'LSBackgroundOnly': '0'
+ },
+ version='0.2.0')
diff --git a/Lib/build.sh b/Lib/build.sh
index a256555..b2ab054 100644
--- a/Lib/build.sh
+++ b/Lib/build.sh
@@ -1 +1 @@
-pyinstaller --noconsole --name "TruFont" --onefile -i "defconQt/resources/app.ico" defconQt/__main__.py
+pyinstaller --noconsole --name "TruFont" --onefile --icon="defconQt/resources/app.ico" --osx-bundle-identifier=io.github.trufont TruFont.spec