]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/samples/doodle/setup.py
Add code to remove the selection (if any) in wxTextCtrl::WriteText for multi-line...
[wxWidgets.git] / wxPython / samples / doodle / setup.py
index 2e72fd0dfd9b25f41af8591b1a52ed5144f669d1..ea62656f136c11e587380daf181212a4ddce3f85 100644 (file)
@@ -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,
        )