diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-04-21 14:15:05 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-04-21 14:16:49 +0200 |
commit | cfaca8188c485ae756f7d7f49fda1d9926d4652c (patch) | |
tree | ff1bb82ca08257b527fa4ba21b1eb55f14f1e17b /ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py | |
parent | 4b875218b1608ac62b12e5274f0e68031c127d4c (diff) | |
download | tde-packaging-cfaca8188c485ae756f7d7f49fda1d9926d4652c.tar.gz tde-packaging-cfaca8188c485ae756f7d7f49fda1d9926d4652c.zip |
DEB sip4-tqt: Add packages for Python3 support.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py')
-rw-r--r-- | ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py new file mode 100644 index 000000000..fb27b6475 --- /dev/null +++ b/ubuntu/_base/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 |