| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
expanding among other things CPPDEFINES). source and target arguements were previously added to allow those values to be used by alternative definitions for _defines. This broke previous usage, including scons-contribs qt4 and qt5 tools. (See https://github.com/SCons/scons-contrib/issues/45 )
|
| |
|
| |
|
| |
|
|
|
|
| |
Updated _LIBDIRFLAGS and _CPPINCFLAGS to use
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Removed a number of imports reported as unused.
* Reorganize imports in a few places.
* Checker reported warnings problems ("Instantiating an exception,
but not raising it, has no effect"): serveral tool modules instantiated
a warning class thinking (?) it would issue the warning; changed these to
the standard use - calling the warn() function with the warnclass as an arg.
* Tool modules that were touched had the copyright header munging applied.
* Removed irritating "####" lines from gettext and msgfmt tools.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mostly it's just fiddling; did add a pointer to information
on Chmod() on Windows, and that Mkdir() makes intermediate
dirs and takes a list as well as a string.
While resolving some doc questions, found the function used
by Makedir() could be simplified by passing exist_ok=True to
os.makedirs().
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Expansion of CPPDEFINES now substs consvars
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By calling env.subst_list instead of env.subst_path, the processed
defines can have construction vars interpolated.
Note issue of SOURCE and TARGET not being expanded, as they're special
and are not passed to the relevant function, remains open (issue 3477).
Fixes #2363
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
| |
rather in get() in TEMPFILEMUNGE logic
|
|\ |
|
| | |
|
| | |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | | |
into the few functions they are used in rather than globally in the module
|
|\ \ \
| | |/
| |/| |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|/
|
|
|
|
|
| |
This change adds support for a new --hash-format parameter that can be used to
override the default hash format used by SCons. The default remains MD5, but
this allows consumers to opt into SHA1, SHA256, or any other hash algorithm
offered by their implementation of hashlib.
|
|
|
|
|
|
| |
In Python3 this is the default.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
with current python packaging practices
|