2019-03-08 22:46:50 +00:00
|
|
|
# -*- mode: python ; coding: utf-8 -*-
|
2017-02-14 23:00:33 +00:00
|
|
|
|
|
|
|
block_cipher = None
|
|
|
|
|
|
|
|
|
|
|
|
a = Analysis(['../dosage'],
|
|
|
|
pathex=['.'],
|
|
|
|
binaries=[],
|
|
|
|
datas=[],
|
|
|
|
hiddenimports=[],
|
|
|
|
hookspath=['.'],
|
|
|
|
runtime_hooks=[],
|
|
|
|
excludes=[],
|
|
|
|
win_no_prefer_redirects=False,
|
|
|
|
win_private_assemblies=False,
|
2019-03-08 22:46:50 +00:00
|
|
|
cipher=block_cipher,
|
|
|
|
noarchive=False)
|
2017-02-14 23:00:33 +00:00
|
|
|
|
|
|
|
a.binaries = [x for x in a.binaries if not x[1].lower().startswith(r'c:\windows')]
|
|
|
|
|
|
|
|
pyz = PYZ(a.pure, a.zipped_data,
|
|
|
|
cipher=block_cipher)
|
|
|
|
exe = EXE(pyz,
|
|
|
|
a.scripts,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
name='dosage',
|
|
|
|
debug=False,
|
|
|
|
strip=False,
|
|
|
|
upx=False,
|
2019-03-08 22:46:50 +00:00
|
|
|
runtime_tmpdir=None,
|
2017-02-14 23:00:33 +00:00
|
|
|
console=True)
|