else/Asciix/setup.py

15 lines
546 B
Python
Raw Normal View History

2014-12-03 03:15:10 +00:00
import sys
from cx_Freeze import setup, Executable
2014-12-04 08:34:01 +00:00
options = dict(include_files=["asciitable.json", "asciitable_min.json"], create_shared_zip='True', build_exe="bin", excludes=["tcl"])
2014-12-03 03:15:10 +00:00
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup(name= "ascii",
version= "0.1",
#options= {"build_exe": {"packages":["PIL"]}, "included_files":["asciitable.json"]},
description= "Convert PNG and JPG images to ascii text",
options= dict(build_exe=options),
executables=[Executable("ascii.py"), Executable("ascii_gui.pyw", base=base)]
)