Commit 8f1dedf5 authored by David Gobbi's avatar David Gobbi
Browse files

ENH: Allow to be used with PySide.

Thanks to Hadrien Mary for the patch.

Change-Id: I3d945aa5e15045ae12d054f0475b54b828860c71
parent b1fef13f
......@@ -28,7 +28,13 @@ Changes by Phil Thompson, Mar. 2008
from PyQt4 import QtCore, QtGui
from PyQt4 import QtCore, QtGui
except ImportError:
from PySide import QtCore, QtGui
except ImportError as err:
raise ImportError("Cannot load either PyQt or PySide")
import vtk
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment