wxWidgets/wxPython/samples/doodle/setup.py
Robin Dunn 3c69a2ec86 merge from 2.8 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-07 16:24:56 +00:00

31 lines
822 B
Python

# A distutils script to make a standalone .exe of superdoodle for
# 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",
#console = ["superdoodle.py"]
windows = ["superdoodle.py"],
#data_files = DATA,
options = {"py2exe" : { "compressed": 0,
"optimize": 2,
"bundle_files": 1,
}},
zipfile = None
)