summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py
blob: 3e6aa5abacc1a5b2a20cede10c174a1374d8093c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# import the sipconfig.py for the normal or the debug build

import sys

if getattr(sys, "pydebug", False):
    try:
        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 sip4_tqt.sipconfig_nd import *
    from sip4_tqt.sipconfig_nd import _pkg_config, _default_macros