Skip to content

Instantly share code, notes, and snippets.

@niktto

niktto/setup.py Secret

Created November 7, 2012 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niktto/5d6aa7a01ae530bfc03a to your computer and use it in GitHub Desktop.
Save niktto/5d6aa7a01ae530bfc03a to your computer and use it in GitHub Desktop.
setup.py (cx_freeze issue?)
import sys
from cx_Freeze import setup, Executable
build_exe_options = {
"packages": ["PIL", "gi", "gio", "msgpack_pure", "pytz",
"twisted", "dateutil"],
"excludes": ["tkinter"],
"optimize": 2,
"include_files": ["data/css", "data/ui", "data/img"]
}
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup( name = "Task Workshop",
version = "0.1",
description = "Task Workshop!",
options = {"build_exe": build_exe_options},
executables = [Executable("task_workshop.py", base=base)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment