Add Config.SIP_TRACE flag

(cherry picked from commit 224630cf64)
This commit is contained in:
Robin Dunn
2021-01-07 13:43:11 -08:00
committed by Scott Talbert
parent 8b5956e006
commit 400b7761fd
2 changed files with 2 additions and 1 deletions

View File

@@ -1252,7 +1252,7 @@ def cmd_sip(options, args):
sip_module = 'wx.siplib', # the fully qualified name of the sip module
sbf_file=sbf, # File to write the generated file lists to
exceptions = False, # enable support for exceptions
tracing = False, # generate code with tracing enabled
tracing = cfg.SIP_TRACE, # generate code with tracing enabled
sources_dir = tmpdir, # the name of the code directory
extracts = [pycode], # add <ID:FILE> to the list of extracts to generate
pyi_extract=pyi_extract, # the name of the .pyi stub file

View File

@@ -86,6 +86,7 @@ class Configuration(object):
# The name of the top-level package
SIP_ABI = '12.8'
SIP_TRACE = False
# ---------------------------------------------------------------
# Basic initialization and configuration code