summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/sip4-tqt/debian/sipconfig.py
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2020-01-30 22:13:12 +0300
committerSlávek Banko <slavek.banko@axis.cz>2020-02-16 19:32:15 +0100
commit2fc484654ad50402b0f7b0f1cb616d42108832d5 (patch)
tree4a8d152e82c0c4cd4fd465b4e33770a8881d0bed /dilos/dependencies/sip4-tqt/debian/sipconfig.py
parentec41607c588884cae92f40558823d2b528f1fbb9 (diff)
downloadtde-packaging-2fc484654ad50402b0f7b0f1cb616d42108832d5.tar.gz
tde-packaging-2fc484654ad50402b0f7b0f1cb616d42108832d5.zip
DilOS: sip4-tqt build pack
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit c3cb89c56a39c358761b3da1b6465791407e90f0)
Diffstat (limited to 'dilos/dependencies/sip4-tqt/debian/sipconfig.py')
-rw-r--r--dilos/dependencies/sip4-tqt/debian/sipconfig.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/dilos/dependencies/sip4-tqt/debian/sipconfig.py b/dilos/dependencies/sip4-tqt/debian/sipconfig.py
new file mode 100644
index 000000000..a9e761f08
--- /dev/null
+++ b/dilos/dependencies/sip4-tqt/debian/sipconfig.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, 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