update spec files
This commit is contained in:
parent
b97988baee
commit
f772fdeb33
|
@ -1,23 +1,15 @@
|
|||
# -*- mode: python -*-
|
||||
|
||||
from glob import glob
|
||||
from PyInstaller.utils.hooks import collect_data_files
|
||||
|
||||
VENV = "../release/venv"
|
||||
|
||||
a = Analysis(['../../pathod/pathoc'],
|
||||
hiddenimports=["_cffi_backend"],
|
||||
a = Analysis(['../pathoc'],
|
||||
binaries=None,
|
||||
datas=None,
|
||||
hiddenimports=['_cffi_backend'],
|
||||
hookspath=None,
|
||||
runtime_hooks=None,
|
||||
excludes=None,
|
||||
)
|
||||
a.datas += Tree(
|
||||
os.path.join(
|
||||
VENV,
|
||||
"lib/python2.7/site-packages/certifi",
|
||||
),
|
||||
prefix = "certifi"
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
excludes=None)
|
||||
pyz = PYZ(a.pure, a.zipped_data)
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
|
|
|
@ -1,31 +1,15 @@
|
|||
# -*- mode: python -*-
|
||||
|
||||
from glob import glob
|
||||
from PyInstaller.utils.hooks import collect_data_files
|
||||
|
||||
VENV = "../release/venv"
|
||||
|
||||
a = Analysis(['../../pathod/pathod'],
|
||||
hiddenimports=["_cffi_backend"],
|
||||
a = Analysis(['../pathod'],
|
||||
binaries=None,
|
||||
datas=collect_data_files("libpathod"),
|
||||
hiddenimports=['_cffi_backend'],
|
||||
hookspath=None,
|
||||
runtime_hooks=None,
|
||||
excludes=None,
|
||||
)
|
||||
a.datas = Tree(
|
||||
"../pathod/libpathod/static",
|
||||
prefix="libpathod/static"
|
||||
)
|
||||
a.datas = Tree(
|
||||
"../pathod/libpathod/templates",
|
||||
prefix="libpathod/templates"
|
||||
)
|
||||
a.datas += Tree(
|
||||
os.path.join(
|
||||
VENV,
|
||||
"lib/python2.7/site-packages/certifi",
|
||||
),
|
||||
prefix = "certifi"
|
||||
)
|
||||
pyz = PYZ(a.pure)
|
||||
excludes=None)
|
||||
pyz = PYZ(a.pure, a.zipped_data)
|
||||
exe = EXE(pyz,
|
||||
a.scripts,
|
||||
a.binaries,
|
||||
|
|
Loading…
Reference in New Issue