-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (34 loc) · 872 Bytes
/
setup.py
File metadata and controls
39 lines (34 loc) · 872 Bytes
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
import sys
from setuptools import find_packages
from pkg_resources import resource_filename
from cx_Freeze import setup, Executable
__author__ = 'ToothlessRebel'
build_exe_options = {
"include_files": [
('resources', 'resources'),
('config.ini', 'config.ini'),
'plugins'
]
}
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
setup(
name="Centurion Client",
version="0.6.1",
description="TEC Client in Python",
options={
"build_exe": build_exe_options
},
packages=find_packages(),
package_data={'': ['*.png', '*.gif', '*.ico']},
executables=[
Executable(
"main.py",
base=base,
icon=resource_filename('resources.images', 'centurion.ico'),
targetName="Centurion Client.exe",
packages=find_packages()
)
]
)