From: Robin Dunn Date: Mon, 30 May 2005 18:31:31 +0000 (+0000) Subject: Include msvcr71.dll if appropriate X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f0e8780701496eefa0877643cd015b7609b1023c?ds=sidebyside Include msvcr71.dll if appropriate git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/samples/doodle/setup.py b/wxPython/samples/doodle/setup.py index efab1a409f..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"] - windows = ["superdoodle.py"] + windows = ["superdoodle.py"], + data_files = DATA, )