X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b68eef002dcb16d6f97215cd224573c6c52a5ca5..b7b7742da5ee462d18e4b90e054f95bce48b64f6:/wxPython/samples/doodle/setup.py diff --git a/wxPython/samples/doodle/setup.py b/wxPython/samples/doodle/setup.py index 2e72fd0dfd..ea62656f13 100644 --- a/wxPython/samples/doodle/setup.py +++ b/wxPython/samples/doodle/setup.py @@ -7,11 +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", - #console = ["superdoodle.py", "doodle.py"] - windows = ["superdoodle.py", "doodle.py"] + #console = ["superdoodle.py"] + windows = ["superdoodle.py"], + data_files = DATA, )