File: pyqtconfig_py3.snippet

package info (click to toggle)
python-qt4 4.12.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 40,300 kB
  • ctags: 6,185
  • sloc: python: 125,988; cpp: 13,291; xml: 292; makefile: 246; php: 27; sh: 2
file content (11 lines) | stat: -rw-r--r-- 499 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 PyQt4.pyqtconfig_d@MINORVERS@ import *
            from PyQt4.pyqtconfig_d@MINORVERS@ import _pkg_config, _default_macros
        except ImportError as msg:
            raise ImportError('No module named pyqtconfig; package python3-pyqt4-dbg not installed')
    else:
        from PyQt4.pyqtconfig_nd@MINORVERS@ import *
        from PyQt4.pyqtconfig_nd@MINORVERS@ import _pkg_config, _default_macros