diff options
-rw-r--r-- | Lib/distutils/core.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py index 9a6bff6..d180eb8 100644 --- a/Lib/distutils/core.py +++ b/Lib/distutils/core.py @@ -227,3 +227,12 @@ def run_setup (script_name, script_args=None, stop_after="run"): return _setup_distribution # run_setup () + +def get_distutil_options (): + """Returns a list of strings recording changes to the Distutils. + + setup.py files can then do: + if 'optional-thing' in get_distutil_options(): + ... + """ + return [] |