forked from sosoho/my-python-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (24 loc) · 734 Bytes
/
setup.py
File metadata and controls
32 lines (24 loc) · 734 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
29
30
31
32
# -*- coding:utf-8 -*-
# _author:kaliarch
import sys
from cx_Freeze import setup,Executable
import os
os.environ['TCL_LIBRARY'] = r"D:\Users\18329\Miniconda3\tcl\tcl8.6"
os.environ['TK_LIBRARY'] = r"D:\Users\18329\Miniconda3\tcl\tk8.6"
include_files = [
r"D:\Users\18329\Miniconda3\DLLs\tcl86t.dll",
r"D:\Users\18329\Miniconda3\DLLs\tk86t.dll"
]
build_exe_options = {
"packages":["os","tkinter"],
"include_files":include_files
}
base = None
if sys.platform == "win64":
base = "Win64GUI"
setup(name = "fanyitools",
version = "0.1",
description = "fanyitools!",
options = {"build_exe":build_exe_options},
executables = {Executable("windows.py",base=base)}
)