3ba895f573
Python binding was broke since commit b1f37a8.
This is a fix and to some degree a refactor.
The binding build is now integrated. Controlled by the CMake
QTERMWIDGET_BUILD_PYTHON_BINDING option.
CMake components taken from https://cgit.kde.org/pykde5.git/. No need to
reinvent the wheel.
Closes https://github.com/lxqt/qtermwidget/issues/135.
16 lines
517 B
Python
16 lines
517 B
Python
# FindSIP.py
|
|
#
|
|
# Copyright (c) 2007, Simon Edwards <simon@simonzone.com>
|
|
# Redistribution and use is allowed according to the terms of the BSD license.
|
|
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
|
|
|
|
import sys
|
|
import sipconfig
|
|
|
|
sipcfg = sipconfig.Configuration()
|
|
print("sip_version:%06.0x" % sipcfg.sip_version)
|
|
print("sip_version_str:%s" % sipcfg.sip_version_str)
|
|
print("sip_bin:%s" % sipcfg.sip_bin)
|
|
print("default_sip_dir:%s" % sipcfg.default_sip_dir)
|
|
print("sip_inc_dir:%s" % sipcfg.sip_inc_dir)
|