forked from ganpat-university/exam-python-project-prokard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (21 loc) · 820 Bytes
/
Copy pathsetup.py
File metadata and controls
24 lines (21 loc) · 820 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
#setup.py
import sys, os
from cx_Freeze import setup, Executable
import os.path
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')
__version__ = "8.1"
packages = ["pandas","numpy","xlrd","openpyxl","email","smtplib","tkinter"]
setup(
name = "PROKARD",
version=__version__,
description = "Created By Students of UVPCE",
options = {"build_exe": {
'include_files':[
os.path.join(PYTHON_INSTALL_DIR, 'DLLs', 'tk86t.dll'),
os.path.join(PYTHON_INSTALL_DIR, 'DLLs', 'tcl86t.dll'),
],'packages': packages,'include_msvcr': True
}},
executables = [Executable("PROKARD.py",base="Win32GUI")]
)