Skip to content

Commit

Permalink
In Python 3 we don't need to worry about the qt api (#1125)
Browse files Browse the repository at this point in the history
  • Loading branch information
francisco-dlp authored and to266 committed Jul 10, 2016
1 parent 5b8f32e commit f4772e7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions hyperspy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# -*- coding: utf-8 -*-
try:
import sip
sip.setapi('QVariant', 2)
sip.setapi('QDate', 2)
sip.setapi('QDateTime', 2)
sip.setapi('QTextStream', 2)
sip.setapi('QTime', 2)
sip.setapi('QUrl', 2)
del sip
except ImportError:
pass

from hyperspy import docstrings

__doc__ = """
Expand All @@ -30,10 +18,6 @@
""" % docstrings.START_HSPY

import os

os.environ['QT_API'] = "pyqt"


from . import Release

Expand Down

0 comments on commit f4772e7

Please sign in to comment.