Add SIP_ABI to the config object

(cherry picked from commit c385873d70)
This commit is contained in:
Robin Dunn
2021-01-05 11:11:26 -08:00
committed by Scott Talbert
parent f39c7bb7a7
commit 8b5956e006
2 changed files with 3 additions and 1 deletions

View File

@@ -1245,7 +1245,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