2001-04-30 14:34:21 -04:00
|
|
|
# A distutils script to make a standalone .exe of superdoodle for
|
2001-05-08 15:27:48 -04:00
|
|
|
# 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
|
2001-04-30 14:34:21 -04:00
|
|
|
#
|
|
|
|
|
2001-05-08 15:27:48 -04:00
|
|
|
|
2005-05-30 14:31:31 -04:00
|
|
|
import sys, os
|
2001-04-30 14:34:21 -04:00
|
|
|
from distutils.core import setup
|
|
|
|
import py2exe
|
|
|
|
|
2006-11-18 14:45:11 -05:00
|
|
|
## if sys.platform == "win32" and sys.version_info > (2, 4):
|
|
|
|
## DATA = [("", os.path.join(sys.exec_prefix, 'msvcr71.dll'))]
|
|
|
|
## else:
|
|
|
|
## DATA = []
|
2005-05-30 14:31:31 -04:00
|
|
|
|
|
|
|
|
2001-04-30 14:34:21 -04:00
|
|
|
setup( name = "superdoodle",
|
2004-05-28 15:13:42 -04:00
|
|
|
#console = ["superdoodle.py"]
|
2005-05-30 14:31:31 -04:00
|
|
|
windows = ["superdoodle.py"],
|
2006-11-18 14:45:11 -05:00
|
|
|
#data_files = DATA,
|
2007-02-07 11:24:56 -05:00
|
|
|
options = {"py2exe" : { "compressed": 0,
|
|
|
|
"optimize": 2,
|
|
|
|
"bundle_files": 1,
|
|
|
|
}},
|
|
|
|
zipfile = None
|
2001-04-30 14:34:21 -04:00
|
|
|
)
|
|
|
|
|