3c69a2ec86
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
31 lines
822 B
Python
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
|
|
)
|
|
|