-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (42 loc) · 2.14 KB
/
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
45
46
47
48
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {"packages": ["matplotlib",
'pygame',
'numpy',
'sympy',
'time',
'random',
],
"excludes" : ["all"],
"include_files" : ["Images/iitgn.png",
"Fonts/pt mono bold.ttf",
"Fonts/pt mono regular.ttf",
"Images/box_strain.png",
"Images/box_stress.png"]}
# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup( name = "Mohr's Circle",
version = "0.1",
description = "final project",
options = {"build_exe": build_exe_options},
executables = [Executable("mohr_game.py", base=base),
Executable("MohrCircle.py"),
Executable("MohrCircle_stress.py"),
Executable("MohrCircle_stress_tut.py"),
Executable("MohrCircle_strain.py"),
Executable("mohr_window_list.py"),
Executable("utilities/mohr_fonts.py"),
Executable("utilities/mohr_screen.py"),
Executable("utilities/mohr_user_input.py"),
Executable("utilities/mohr_concept_questions.py"),
Executable("utilities/mohr_checkbox.py"),
Executable("utilities/mohr_checkbox.py"),
Executable("window_types/mohr_general.py"),
Executable("window_types/mohr_quiz.py"),
Executable("window_types/mohr_tutorial.py"),
Executable("window_types/mohr_initial.py"),
])