-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (23 loc) · 718 Bytes
/
setup.py
File metadata and controls
28 lines (23 loc) · 718 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
from cx_Freeze import setup, Executable
import os.path
import sys
PYTHON_INSTALL_DIR = os.path.dirname(os.path.dirname(os.__file__))
os.environ['TCL_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tcl8.6')
os.environ['TK_LIBRARY'] = os.path.join(PYTHON_INSTALL_DIR, 'tcl', 'tk8.6')
base = None
if sys.platform == "win32":
base = "Win32GUI"
executables = [Executable("Main.py", base=base)]
packages = ["idna", "pygame", "math", "random", "networkx", "colorsys", "time", "Node", "graphSetup", "numpy"]
options = {
'build_exe': {
'packages':packages,
},
}
setup(
name = "GD",
options = options,
version = "0.0.1",
description = 'AcademyNEXT',
executables = executables
)