single-directory installer spec file for pyinstaller (need to test on OSX still)

This commit is contained in:
Jude Nelson
2017-04-20 19:09:17 -04:00
parent 8ef3b30174
commit 8f1e1c8413

View File

@@ -1,13 +1,13 @@
# -*- mode: python -*-
block_cipher = None
# options = [('v', None, 'OPTION'), ('W ignore', None, 'OPTION')]
a = Analysis(['bin/blockstack'],
pathex=['/home/jude/Desktop/research/git/blockstack-core'],
pathex=['/home/debian/Desktop/research/git/blockstack-core'],
binaries=[],
datas=[],
hiddenimports=['blockstack_client.backend.drivers.disk', 'blockstack_client.backend.drivers.s3', 'blockstack_client.backend.drivers.dht', 'blockstack_client.backend.drivers.blockstack_server', 'blockstack_client.backend.drivers.blockstack_resolver', 'blockstack_client.backend.drivers.http'],
hiddenimports=['_scrypt', 'blockstack_client.backend.drivers.disk', 'blockstack_client.backend.drivers.blockstack_resolver', 'blockstack_client.backend.drivers.blockstack_server', 'blockstack_client.backend.drivers.dht', 'blockstack_client.backend.drivers.http', 'blockstack_client.backend.drivers.s3'],
hookspath=[],
runtime_hooks=[],
excludes=[],
@@ -18,11 +18,16 @@ pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
exclude_binaries=True,
name='blockstack',
debug=False,
strip=False,
upx=True,
console=True )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='blockstack')