[Thuban-commits] r2907 - trunk/thuban

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Sun Sep 8 21:06:30 CEST 2013


Author: bernhard
Date: 2013-09-08 21:06:30 +0200 (Sun, 08 Sep 2013)
New Revision: 2907

Modified:
   trunk/thuban/setup.py
   trunk/thuban/thuban.py
Log:
setup.py and thuban.py wx2.8 changes from the 1.2.2 tarball.


Modified: trunk/thuban/setup.py
===================================================================
--- trunk/thuban/setup.py	2013-09-08 19:02:28 UTC (rev 2906)
+++ trunk/thuban/setup.py	2013-09-08 19:06:30 UTC (rev 2907)
@@ -71,7 +71,7 @@
 
     # On POSIX-systems we run wxgtk-config to determine the C++-compiler
     # flags
-    wx_config_script = "wx-config"
+    wx_config_script = "wx-config --version=2.8"
     # These lists will be filled automatically below
     wx_cs_params = [[] for i in range(CS_NUM_PARAMS)]
 

Modified: trunk/thuban/thuban.py
===================================================================
--- trunk/thuban/thuban.py	2013-09-08 19:02:28 UTC (rev 2906)
+++ trunk/thuban/thuban.py	2013-09-08 19:06:30 UTC (rev 2907)
@@ -10,6 +10,9 @@
 import sys, os
 import Thuban
 
+import wxversion
+wxversion.select("2.8")
+
 # Put the Lib dir into the path. The Lib dir contains some extra non
 # really Thuban specific Python modules
 thubandir = os.path.join(Thuban.__path__[0], '..')



More information about the Thuban-commits mailing list