summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/dependencies/sip4-tqt/debian/sipconfig_py3.py
blob: 15c4d79be9b70c9d115dfe4a1c907f87b7062f50 (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 sipconfig_d import *
        from 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