summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PySide/__init__.py.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/PySide/__init__.py.in b/PySide/__init__.py.in
index 40731a8..9536718 100644
--- a/PySide/__init__.py.in
+++ b/PySide/__init__.py.in
@@ -1,5 +1,9 @@
+import sys
+
__all__ = ['QtCore', 'QtGui', 'QtNetwork', 'QtOpenGL', 'QtSql', 'QtSvg', 'QtTest', 'QtWebKit', 'QtScript']
-import private
+
+if sys.version_info[0] < 3:
+ import private
__version__ = "@BINDING_API_VERSION_FULL@"
__version_info__ = (@BINDING_API_MAJOR_VERSION@, @BINDING_API_MINOR_VERSION@, @BINDING_API_MICRO_VERSION@, "@BINDING_API_RELEASE_LEVEL@", @BINDING_API_SERIAL@)