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