summaryrefslogtreecommitdiff
path: root/SCons/Tool/__init__.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2020-05-09 10:05:49 -0600
committerMats Wichmann <mats@linux.com>2020-05-09 11:52:38 -0600
commit463ec8562a726d502c9e6fb5ad44368140bf2a09 (patch)
tree797fae9cf5740c1ec47cbf8e0c104253aea7e862 /SCons/Tool/__init__.py
parent7c4bc9a79c20f2ac1e8c5f25957fbcad87e7ff56 (diff)
downloadscons-git-463ec8562a726d502c9e6fb5ad44368140bf2a09.tar.gz
python tool not default + minor wording tweaks
Do not add the python tool (which adds Python suffices to SourceFileScanner) in the list of default tools. At the moment, it causes problems for SCons' own documentation build. Minor wording fix in python tool doc. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Tool/__init__.py')
-rw-r--r--SCons/Tool/__init__.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/SCons/Tool/__init__.py b/SCons/Tool/__init__.py
index 4cb77c004..7aab5541b 100644
--- a/SCons/Tool/__init__.py
+++ b/SCons/Tool/__init__.py
@@ -1275,13 +1275,17 @@ def tool_list(platform, env):
'tar', 'zip',
# File builders (text)
'textfile',
- # Python scanner tool
- 'python',
], env)
- tools = ([linker, c_compiler, cxx_compiler,
- fortran_compiler, assembler, ar, d_compiler]
- + other_tools)
+ tools = [
+ linker,
+ c_compiler,
+ cxx_compiler,
+ fortran_compiler,
+ assembler,
+ ar,
+ d_compiler,
+ ] + other_tools
return [x for x in tools if x]