File: sipconfig_py3.snippet

package info (click to toggle)
sip4 4.19.25%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,984 kB
  • sloc: ansic: 31,847; yacc: 7,076; python: 2,558; lex: 850; makefile: 65; perl: 15; cpp: 4
file content (11 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
if sys.version_info[1] == @MINORVERS@:
    if 'd' in sys.abiflags:
        try:
            from sipconfig_d@MINORVERS@ import *
            from sipconfig_d@MINORVERS@ import _pkg_config, _default_macros
        except ImportError:
            raise ImportError('No module named sipconfig; package python3-sip-dbg not installed')
    else:
        from sipconfig_nd@MINORVERS@ import *
        from sipconfig_nd@MINORVERS@ import _pkg_config, _default_macros