2015-08-16 09:44:54 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
|
2015-12-03 13:32:45 +00:00
|
|
|
from PyInstaller.utils.hooks import collect_data_files
|
2015-08-16 09:44:54 +00:00
|
|
|
|
2015-12-03 13:32:45 +00:00
|
|
|
a = Analysis(['../pathod'],
|
|
|
|
binaries=None,
|
|
|
|
datas=collect_data_files("libpathod"),
|
|
|
|
hiddenimports=['_cffi_backend'],
|
2015-08-16 09:44:54 +00:00
|
|
|
hookspath=None,
|
|
|
|
runtime_hooks=None,
|
2015-12-03 13:32:45 +00:00
|
|
|
excludes=None)
|
|
|
|
pyz = PYZ(a.pure, a.zipped_data)
|
2015-08-16 09:44:54 +00:00
|
|
|
exe = EXE(pyz,
|
|
|
|
a.scripts,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
name='pathod',
|
|
|
|
debug=False,
|
|
|
|
strip=None,
|
|
|
|
upx=True,
|
|
|
|
console=True )
|