mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-09 01:27:34 -08:00
17 lines
319 B
Diff
17 lines
319 B
Diff
--- a/DSV/DSV.py
|
|
+++ b/DSV/DSV.py
|
|
@@ -134,6 +134,13 @@
|
|
os.putenv('LANG', 'C')
|
|
|
|
try:
|
|
+ import wxversion
|
|
+ wxversion.select("2.8")
|
|
+except Exception, e:
|
|
+ print >> sys.stderr, "%s: wxPython 2.8 not installed." %e
|
|
+ sys.exit(1)
|
|
+
|
|
+try:
|
|
from wxPython import wx, grid
|
|
except ImportError:
|
|
wx = None
|