forked from Answeror/lit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (40 loc) · 866 Bytes
/
setup.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from cx_Freeze import setup, Executable
from command import cmds
import glob
includes = []
excludes = []
packages = []
setup(
name='lit',
version='0.1.4',
install_requires=[
'wmi',
'pywin32'
],
cmdclass=cmds,
options={
'build_exe': {
'packages': packages,
'includes': includes,
'excludes': excludes,
'include_files': ['style.css'] + glob.glob('ele/*')
}
},
executables=[
Executable(
'lit.py',
base='Win32GUI',
targetName='lit.exe',
compress=True,
icon='icons/48.ico'
),
Executable(
'server.py',
base='Win32GUI',
targetName='litserver.exe',
compress=True
)
]
)