-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
24 lines (20 loc) · 810 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
import sys
from cx_Freeze import setup,Executable
import os
os.environ['TCL_LIBRARY'] = "C:\\Python36-32\\tcl\\tcl8.6"
os.environ['TK_LIBRARY'] = "C:\\Python36-32\\tcl\\tk8.6"
includefiles = ['.git/*', 'font/*', 'css.css', 'html.html', 'jquery.min.js', 'script.js']
include = ['control.py', 'start.py', 'sysVar.py', 'usb.py', 'utils.py', 'webUser.py']
packages = ['os', 'sys', 'time', 'get', 'serial']
exclude = ['tkinter']
if sys.platform == "win32":
base = "Win32GUI"
setup(
name = 'egg Force One',
version = '0.0',
description = 'controller for all fdm printer',
author = 'Casal Guillaume',
author_email = '',
option = {'build_exe': {'includes':include, 'packages':packages, 'exclude':exclude, 'include_files':includefiles}},
executables = [Executable("main.py")]
)