diff options
| author | Adrien Tétar | 2015-10-23 20:56:03 +0200 | 
|---|---|---|
| committer | Adrien Tétar | 2015-10-23 20:56:03 +0200 | 
| commit | 9924e55ba344ada854dd02afa7ed248c13cc939c (patch) | |
| tree | 15934b01f465558a8d9af654b2240ef2f64e52b4 | |
| parent | ff35576986cb7a1a954b0b67bf66ecf78b8f5f6d (diff) | |
| parent | 5745e6af61671cb5c131a31d28f79a0ed5a8c4b1 (diff) | |
| download | trufont-9924e55ba344ada854dd02afa7ed248c13cc939c.tar.bz2 | |
Merge pull request #58 from davelab6/spec-file
Add Lib/TruFont.spec
| -rw-r--r-- | Lib/TruFont.spec | 37 | ||||
| -rw-r--r-- | Lib/build.sh | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | setup.py | 0 | 
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 | 
