diff options
author | Mats Wichmann <mats@linux.com> | 2020-07-11 14:06:16 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2020-09-23 18:31:48 (GMT) |
commit | d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9 (patch) | |
tree | 69968f37fe9a8d41ff23205f66468003956dfff2 /SCons/Environment.py | |
parent | ea642040eca864aaeac25da013cce9fd875489f0 (diff) | |
download | SCons-d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9.zip SCons-d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9.tar.gz SCons-d0a3e4ed38f4a4cd84000dec2342f51b6dda69b9.tar.bz2 |
Update some copyright strings and drop __revision__ [skip appveyor]
Touches the first and second levels of SCons (except SCons.Tool),
not tests or docs which remain TODO.
Make sure docstring is first non-comment content, eliminate cases where
docstring is set elsewhere but assigns to __doc__ - this approach of
course worked inside Python, but confuses various tools.
Some module-level docstrings modified a bit, in particular
the convention of having the name of the module as the first line
is dropped, replaced by a summary description going there instead -
this improves the look in the API Docs, which otherwise display
something like:
SCons.Foo - SCons.Foo
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons/Environment.py')
-rw-r--r-- | SCons/Environment.py | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/SCons/Environment.py b/SCons/Environment.py index 76128ed..3040427 100644 --- a/SCons/Environment.py +++ b/SCons/Environment.py @@ -1,16 +1,6 @@ -"""SCons.Environment - -Base class for construction Environments. These are -the primary objects used to communicate dependency and -construction information to the build engine. - -Keyword arguments supplied when the construction Environment -is created are construction variables used to initialize the -Environment -""" - +# MIT License # -# __COPYRIGHT__ +# Copyright The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -31,8 +21,14 @@ Environment # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" +"""Base class for construction Environments. + +These are the primary objects used to communicate dependency and +construction information to the build engine. +Keyword arguments supplied when the construction Environment is created +are construction variables used to initialize the Environment. +""" import copy import os |