aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/TruFont.spec37
-rw-r--r--Lib/build.sh2
-rwxr-xr-x[-rw-r--r--]setup.py0
3 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
diff --git a/setup.py b/setup.py
index fc62279..fc62279 100644..100755
--- a/setup.py
+++ b/setup.py