Add Config.SIP_TRACE flag

This commit is contained in:
Robin Dunn
2021-01-07 13:43:11 -08:00
parent e8f184f640
commit 224630cf64
2 changed files with 2 additions and 1 deletions

View File

@@ -1285,7 +1285,7 @@ def cmd_sip(options, args):
sip_module = 'wx.siplib', # the fully qualified name of the sip module sip_module = 'wx.siplib', # the fully qualified name of the sip module
sbf_file=sbf, # File to write the generated file lists to sbf_file=sbf, # File to write the generated file lists to
exceptions = False, # enable support for exceptions 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 sources_dir = tmpdir, # the name of the code directory
extracts = [pycode], # add <ID:FILE> to the list of extracts to generate extracts = [pycode], # add <ID:FILE> to the list of extracts to generate
pyi_extract=pyi_extract, # the name of the .pyi stub file 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 # The name of the top-level package
SIP_ABI = '12.8' SIP_ABI = '12.8'
SIP_TRACE = False
# --------------------------------------------------------------- # ---------------------------------------------------------------
# Basic initialization and configuration code # Basic initialization and configuration code