X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47b37e4be4c6c842dcc6f7d5a12bda8a9eec5a0d..b7b7742da5ee462d18e4b90e054f95bce48b64f6:/wxPython/samples/doodle/setup.py diff --git a/wxPython/samples/doodle/setup.py b/wxPython/samples/doodle/setup.py index 7cc054efb5..ea62656f13 100644 --- a/wxPython/samples/doodle/setup.py +++ b/wxPython/samples/doodle/setup.py @@ -7,10 +7,19 @@ # +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, )