-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,17 @@ | ||
from distutils.core import setup | ||
import py2exe | ||
import sys | ||
from cx_Freeze import setup, Executable | ||
|
||
setup( windows=[{"script": "Aspector.py"}] ) | ||
# 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 = "Aspector", | ||
version = "0.1", | ||
description = "Aspector!", | ||
options = {"build_exe": build_exe_options}, | ||
executables = [Executable("Aspector.py", base=base)]) |