X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7114b9fa28654f7a9c118f6574f7c8e15fa5d302..9859d369b49e35a1cad0f760173e165f974fb6cb:/wxPython/samples/doodle/setup.py diff --git a/wxPython/samples/doodle/setup.py b/wxPython/samples/doodle/setup.py index 460ccbd34f..6977a0500e 100644 --- a/wxPython/samples/doodle/setup.py +++ b/wxPython/samples/doodle/setup.py @@ -1,12 +1,30 @@ -# # A distutils script to make a standalone .exe of superdoodle for -# Windows platforms. +# Windows platforms. You can get py2exe from +# http://py2exe.sourceforge.net/. Use this command to build the .exe +# and collect the other needed files: +# +# python setup.py py2exe # + +import sys, os from distutils.core import setup import py2exe +## if sys.platform == "win32" and sys.version_info > (2, 4): +## DATA = [("", os.path.join(sys.exec_prefix, 'msvcr71.dll'))] +## else: +## DATA = [] + + setup( name = "superdoodle", - scripts = ["superdoodle.py"] + #console = ["superdoodle.py"] + windows = ["superdoodle.py"], + #data_files = DATA, + options = {"py2exe" : { "compressed": 0, + "optimize": 2, + "bundle_files": 1, + }}, + zipfile = None )