| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Updates docs and code; moves tests to test/Removed/BuildDir/Old.
New tests verify that these can no longer be used.
Along the way a small cleanup in SConscript.py
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Doc-only change to be more explicit about when the default
construction environment is used, and what it means to call
DefaultEnvironment() - only the first call instantiates it,
later calls return the object.
Fixes #2477
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reword some parts.
Add note to manpage that AddOption does not support matching "abbreviations"
for long option names.
Add note to manpage and user guide that you can't SetOption on
options added via AddOption. (as noted in issue #2105)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Manpage describes that using spaces between AddOption'd option
and its argument is undefined.
Use Guide goes into more detail, including workarounds.
:: these are not a solution, but do at least reduce the
surprise factor.
(multiple github issues)
Fix tag mismatch in depends.xml introduced by a previous deletion.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
get importlib magic number from util
sider complaints about unicode usage
sider complaint about subprocess return value unused
sider complaint about shutil import unused (it is used, but
inside a big string that is written to a file to be executed)
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* context managers on file r/w + use shutil.copy where it makes sense.
* lxml wants (demands?) that xml files be processed as bytes
* for the phase where we gen the entity files, read as text anyway
* Need to solve a problem where the generated xml is putting the \n in
literally, not evaluating it.
* Fix some examples broken for py3
* Fix more octal constant instances
* Cleanups suggested by PyCharm: staticmethods, two blanks
before class definition, others.
This addresses issues called out in #3300, but is not a complete
solution because the actual doc build step still fails with the
epydoc failures (which aren't directly because of Py3; epydoc
build doesn't work any better on my system with Py3, even with
the forked version with patches).
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
| |
These two have been deprecated since 2010 (about SCons 2.0), commit
935e6985. Methods are removed, setoption for setting them removed, doc is
removed, tests are migrated to test/Removed/*/Old with a sconstest.skip
file so they don't run, and two new tests are added to confirm that
using the functions and setoptions generate exceptions.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
| |
Quotation marks do not match, which is a syntax error.
|
|
|
|
|
|
|
|
|
|
|
| |
Adds --install-sandbox to manpage options and to
section on Install builder.
Adds mention of InstallVersionedLib to user guide.
Fixes #3007
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
| |
And replaces some written out "construction environment"
and "construction variable" uses with existin entities.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Dictionary is now described as returning a dict only if called
with no arguments; if called with arguments it returns a string
or list of strings (matching the implmenentation).
Note env.Dump() only takes zero arguments or one, it it not
documented as taking the multiple keys, so there's less ambiguity
with it.
Some examples twiddled a little, and in a couple of cases
Dictionary is not used any longer - we might as well just index
into the construction environment since that works.
Fixes #3156
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
|
| |
Objects man page
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
The somewhat poorly named parse_flags keyword args actually work like
the MergeFlags method - don't just split like the ParseFlags method,
but do the merging as well. Tweak the docs and add a reference to
env.MergeFlags.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Improve scons docs regarding Default()
|
| |
| |
| |
| |
| |
| |
| | |
An earlier change updated some examples, this makes some tweaks to
the wording as well for Default, DEFAULT_TARGETS, etc. to clarify.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
map() now returns an interable instead of a list, update
examples which assumed they could just print() the result
of a map().
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|\
| |
| | |
Update docs about installing scons3 (issue #3037)
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| | |
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Installing via pip now preferred; no more native-type
packages (rpm, msi). Python 3 is supported - seemed
one more place was missed that said it had to be Py2.
Signed-off-by: Mats Wichmann <mats@linux.com>
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Piotr Kasprzyk <ciri@ciri.pl>
|
|
|
|
|
|
| |
https://github.com/SCons/scons/issues/3149
Signed-off-by: Mats Wichmann <mats@linux.com>
|
|
|
| |
credit: https://stackoverflow.com/questions/39856184/does-scons-customized-decider-function-require-to-be-class-member
|
| |
|
|
|
|
| |
Fixes #2983
|
| |
|
| |
|
| |
|
|
|
|
| |
--version-lib broken. Now fixed
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
general
also small update to tests
|
| |
|
| |
|
| |
|
| |
|
| |
|