Add SIP_ABI to the config object

This commit is contained in:
Robin Dunn
2021-01-05 11:11:26 -08:00
parent c8e25b79e1
commit c385873d70
2 changed files with 3 additions and 1 deletions

View File

@@ -1278,7 +1278,7 @@ def cmd_sip(options, args):
pycode = 'pycode'+base+':'+pycode
sip_runner(src_name,
abi_version = '12.8', # siplib abi version
abi_version = cfg.SIP_ABI, # siplib abi version
warnings = True, # enable warning messages
docstrings = True, # enable the automatic generation of docstrings
release_gil = True, # always release and reacquire the GIL

View File

@@ -85,6 +85,8 @@ class Configuration(object):
PKGDIR = 'wx'
# The name of the top-level package
SIP_ABI = '12.8'
# ---------------------------------------------------------------
# Basic initialization and configuration code