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
|
|
|
|
|
2005-05-30 14:31:31 -04:00
|
|
|
if sys.platform == "win32" and sys.version_info > (2, 4):
|
|
|
|
DATA = [("", os.path.join(sys.exec_prefix, 'msvcr71.dll'))]
|
|
|
|
else:
|
|
|
|
DATA = []
|
|
|
|
|
|
|
|
|
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"],
|
|
|
|
data_files = DATA,
|
2001-04-30 14:34:21 -04:00
|
|
|
)
|
|
|
|
|