-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
19 lines (15 loc) · 878 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
buildOptions = dict(includes=['PySide2', 'concurrent.futures', 'keyboard', 'cherrypy', 'psutil', 'requests_oauthlib', 'oauthlib.oauth2.rfc6749.errors'],
include_files=['common', 'services', ('lib/pssuspend.exe', 'lib/pssuspend.exe'), ('lib/pssuspend64.exe', 'lib/pssuspend64.exe'), ('icon.png', 'icon.png'), ('lib/bottle.py', 'lib/bottle.py'), ('data/theme', 'data/theme')],
silent=True)
base = 'Win32GUI' if sys.platform=='win32' else None
executables = [
Executable(script='main.py', base=base, targetName='StreamManager.exe', icon='icon.ico')
]
setup(name='Stream Manager',
version = '1.0',
description = '',
options = dict(build_exe = buildOptions),
executables = executables)