]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/doodle/setup.py
'[1219035] cleanup: miscellaneous' and minor source cleaning.
[wxWidgets.git] / wxPython / samples / doodle / setup.py
index 020789a894f66c01009a7ec2af8db805624836bb..ea62656f136c11e587380daf181212a4ddce3f85 100644 (file)
@@ -7,11 +7,19 @@
 #
 
 
 #
 
 
+import sys, os
 from distutils.core import setup
 import py2exe
 
 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"]
 setup( name = "superdoodle",
        #console = ["superdoodle.py"]
-       windows = ["superdoodle.py"] #, "doodle.py"]
+       windows = ["superdoodle.py"],
+       data_files = DATA,
        )
 
        )