summaryrefslogtreecommitdiffstats
path: root/ubuntu/precise/dependencies/sip4-tqt/debian/sipconfig.py
blob: f23b5427af84437096f46b4fc5b8a2e161f8f4ad (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, msg:
        raise ImportError, 'No module named sipconfig; package python-sip4-dbg not installed'
else:
    from sipconfig_nd import *
    from sipconfig_nd import _pkg_config, _default_macros