mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-05 06:30:56 +08:00
Fix setting of QT_API environment variable
This commit is contained in:
@@ -16,4 +16,7 @@ if qt_api is None:
|
||||
# Note that we don't want to raise an error because that would
|
||||
# cause the TravisCI build to fail.
|
||||
warnings.warn("Could not import PyQt4: ImageViewer not available!")
|
||||
|
||||
|
||||
if qt_api is not None:
|
||||
os.environ['QT_API'] = qt_api
|
||||
|
||||
Reference in New Issue
Block a user