From 7cacc26b4b234a6d806213021593d5fb8a3a8682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 28 Jul 2022 00:26:25 +0200 Subject: DEB sip4-tqt: Add the module name for importing sipconfig variants instead of relying on import from the same folder, as this is not usable for Python 3. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py | 8 ++++---- ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'ubuntu') diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py index a9e761f08..32cf8d5e7 100644 --- a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py +++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.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 + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py index 15c4d79be..3e6aa5aba 100644 --- a/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py +++ b/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py @@ -4,10 +4,10 @@ import sys if getattr(sys, "pydebug", False): try: - from sipconfig_d import * - from sipconfig_d import _pkg_config, _default_macros + from sip4_tqt.sipconfig_d import * + from sip4_tqt.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 + from sip4_tqt.sipconfig_nd import * + from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros -- cgit v1.2.1