MyTetra Share
Делитесь знаниями!
setup.py
Время создания: 08.09.2017 22:14
Раздел: Python - cx_Freeze - Generate exe
Запись: xintrea/mytetra_db_mcold/master/base/1504898041nkvdhsde8r/text.html на raw.githubusercontent.com
import sys
from cx_Freeze import setup, Executable

# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {"packages": ["os"], "excludes": ["tkinter"]}

# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if
sys.platform == "win32":
base =
"Win32GUI"

setup( name = "Ваше название",
version = "0.1",
description = "Ваше описание",
options = {"build_exe": build_exe_options},
executables = [Executable("Test.py", base=base)])
Так же в этом разделе:
 
MyTetra Share v.0.60
Яндекс индекс цитирования