Add installer spec.

This commit is contained in:
Martin Fitzpatrick
2019-07-27 23:27:21 +02:00
parent ec275faf03
commit dfc4bbf4b9

47
crypto/crypto.spec Normal file
View File

@@ -0,0 +1,47 @@
# -*- mode: python ; coding: utf-8 -*-
block_cipher = None
a = Analysis(['crypto.py'],
binaries=[],
datas=[],
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='Goodforbitcoin',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
console=False,
icon='resources/icon.ico'
)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='Goodforbitcoin'
)
app = BUNDLE(coll,
name='Goodforbitcoin.app',
icon='resources/icon.icns',
bundle_identifier='com.learnpyqt.Goodforbitcoin',
info_plist={
'NSHighResolutionCapable': 'True'
},
)