-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (26 loc) · 1011 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
from cx_Freeze import setup, Executable
import sys
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages = [],
excludes = ['email', 'html', 'http', 'pydoc_data', 'unittest', 'urllib', 'xml', 'numpy'],
include_files = ['README.md', 'examples/', 'maze/', 'tools/'])
bdist_msi_options = {
'upgrade_code': '{555c685a-f4ff-4d2b-a6e2-77e4ed4df05a}',
'add_to_path': False,
'initial_target_dir': r'[ProgramFilesFolder]\artemis',
'all_users': True,
'install_icon': 'icon.ico'
}
base = 'Win32GUI' if sys.platform == 'win32' else None
executables = [
Executable('run.py', base=base, targetName="artemis",
icon="icon.ico", shortcutName="Artemis",
shortcutDir="DesktopFolder")
]
setup(name='Artemis',
version = '0.8',
description = '',
options = {'bdist_msi': bdist_msi_options,
'build_exe': buildOptions},
executables = executables)