forked from seiferta/eMonitor-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmclient.spec
More file actions
30 lines (30 loc) · 1.02 KB
/
Copy pathmclient.spec
File metadata and controls
30 lines (30 loc) · 1.02 KB
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
import os
currentDir = "d:/data/python/ffh/client/"
a = Analysis(
[#os.path.join(HOMEPATH,'support\\_mountzlib.py'),
# os.path.join(HOMEPATH,'support\\useUnicode.py'),
os.path.normpath(os.path.join(currentDir, 'mclient.py')),
# os.path.normpath(os.path.join(currentDir, 'importantLib.py')),
# add the files you want PyInstaller to analyse the "import" statements
# to detect the libraries to include
],
pathex=['D:\\data\\python\\pyinstaller-2.0']
)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
#exclude_binaries=1,
name=os.path.join('build\\pyi.win32\\build_output', 'mclient.exe'),
debug=False,
strip=False,
upx=True,
console=False,
icon = 'd:/data/python/ffh/client/computer.ico',)
coll = COLLECT( exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name=os.path.join('dist', 'dist_output'))