summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-01-10 16:52:44 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-01-13 02:29:36 +0100
commite14fc7a09fe52d45dfa62f5383d4536d51b263ed (patch)
tree28a5363ef744f081b4532a83a7a691c2a07f9571 /ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py
parent0627aae8f4be0f1a4a09a7b631ecb1db31486f2c (diff)
downloadtde-packaging-e14fc7a09fe52d45dfa62f5383d4536d51b263ed.tar.gz
tde-packaging-e14fc7a09fe52d45dfa62f5383d4536d51b263ed.zip
DEB sip4-tqt: Update packaging after renaming binaries to sip-tqt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py')
-rw-r--r--ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config.py
new file mode 100644
index 000000000..33ebcb65b
--- /dev/null
+++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config.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, msg:
+ raise ImportError, 'No module named sip_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