-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (22 loc) · 896 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
import os
import PIL
from cx_Freeze import setup, Executable
os.environ['TCL_LIBRARY'] = r'C:\Users\rgaud\AppData\Local\Programs\Python\Python36-32\tcl\tcl8.6'
os.environ['TK_LIBRARY'] = r'C:\Users\rgaud\AppData\Local\Programs\Python\Python36-32\tcl\tk8.6'
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(
packages = ['PIL'],
excludes = [],
include_files=[r'C:\Users\rgaud\AppData\Local\Programs\Python\Python36-32\DLLs\tcl86t.dll', r'C:\Users\rgaud\AppData\Local\Programs\Python\Python36-32\DLLs\tk86t.dll', 'Kings-Kids.png']
)
import sys
base = 'Win32GUI' if sys.platform=='win32' else None
executables = [
Executable('ScoreBoard2.py', base=base)
]
setup(name='editor',
version = '1.0',
description = '',
options = dict(build_exe = buildOptions),
executables = executables)