forked from readbeyond/aeneas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyinstaller-onefile.spec
55 lines (51 loc) · 1.19 KB
/
pyinstaller-onefile.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- mode: python -*-
#__author__ = "Alberto Pettarin"
#__email__ = "aeneas@readbeyond.it"
#__copyright__ = """
# Copyright 2012-2013, Alberto Pettarin (www.albertopettarin.it)
# Copyright 2013-2015, ReadBeyond Srl (www.readbeyond.it)
# Copyright 2015-2016, Alberto Pettarin (www.albertopettarin.it)
#"""
#__license__ = "GNU AGPL 3"
#__status__ = "Production"
#__version__ = "1.7.3"
datas = [
# required
("aeneas/res/*", "aeneas/res"),
("aeneas/tools/res/*", "aeneas/tools/res"),
# optional, copy files
("aeneas/extra/*.py", "aeneas/extra"),
# optional, create output directory
("aeneas/extra/.gitignore", "output"),
]
block_cipher = None
a = Analysis(
['pyinstaller-aeneas-cli.py'],
pathex=[],
binaries=None,
datas=datas,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher
)
pyz = PYZ(
a.pure,
a.zipped_data,
cipher=block_cipher
)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='aeneas-cli',
debug=False,
strip=False,
upx=True,
console=True
)