Rebase onto master. Added macOS spec file

This commit is contained in:
Marco
2019-07-08 14:45:47 +02:00
parent 91dd210e4f
commit a4e0edd6e4
10 changed files with 294 additions and 59 deletions

View File

@@ -0,0 +1,43 @@
# -*- mode: python -*-
block_cipher = None
import glob, os
data_file = [(f, '.') for f in glob.glob('*.[pu][yi]') if f != "artemis.py"]
data_file.append(('themes','./themes'))
a = Analysis(['artemis.py'],
pathex=[os.getcwd()],
binaries=[],
datas=data_file,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
[],
exclude_binaries=True,
name='Artemis',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='Artemis')
app = BUNDLE(coll,
name='Artemis.app',
icon='Artemis3.icns',
bundle_identifier=None)