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