summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py
diff options
context:
space:
mode:
Diffstat (limited to 'ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py')
-rw-r--r--ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py
new file mode 100644
index 000000000..15c4d79be
--- /dev/null
+++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py
@@ -0,0 +1,13 @@
+# import the sipconfig.py for the normal or the debug build
+
+import sys
+
+if getattr(sys, "pydebug", False):
+ try:
+ from sipconfig_d import *
+ from sipconfig_d import _pkg_config, _default_macros
+ except ImportError as msg:
+ raise ImportError('No module named sipconfig; package python-sip-tqt-dbg not installed')
+else:
+ from sipconfig_nd import *
+ from sipconfig_nd import _pkg_config, _default_macros