-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (20 loc) · 744 Bytes
/
setup.py
File metadata and controls
23 lines (20 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!python3
__author__ = 'Matjaz'
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {'packages': [],
'excludes': ['scipy', 'matplotlib'],
'include_files': ['style.qss']}
# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"
# .. We want to run CMD by the side!
# base = None
setup( name = 'PresentationTimer',
version = '0.1',
description = 'Time presentations and q & a sessions.',
options = {'build_exe': build_exe_options},
executables = [Executable('timer.py', base=base)])