From 224630cf647341bc719d5fbde08e42e99317aab6 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 7 Jan 2021 13:43:11 -0800 Subject: [PATCH] Add Config.SIP_TRACE flag --- build.py | 2 +- buildtools/config.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 1db1b92a..73e5d501 100755 --- a/build.py +++ b/build.py @@ -1285,7 +1285,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 to the list of extracts to generate pyi_extract=pyi_extract, # the name of the .pyi stub file diff --git a/buildtools/config.py b/buildtools/config.py index e9b865dd..c6d94da1 100644 --- a/buildtools/config.py +++ b/buildtools/config.py @@ -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