summaryrefslogtreecommitdiffstats
path: root/SCons/Script/Main.py
Commit message (Collapse)AuthorAgeFilesLines
* A few more tweaks to debug-timing codeMats Wichmann2021-02-111-19/+30
| | | | | | | A big of reformatting; some options changed to explicitly use True / False (functionally no change from 0/1). Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3884] fix some timinng errors from initial submitMats Wichmann2021-02-091-3/+3
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Add timing of sconsign write if --debugMats Wichmann2021-02-081-5/+5
| | | | | | | | | | | A line is now emitted showing sconsign sync time if --debug=time Some calls to time.time replaced with time.perf_counter, where the objective was to time sections of code (i.e. where there wasn't an actual need to get time-since-epoch) - Python recommends this as getting the best-available timer. Signed-off-by: Mats Wichmann <mats@linux.com>
* Try new way to detect thread support. Check threading.get_ident() which ↵William Deegan2020-10-041-1/+7
| | | | should always return a positive integer. The fake threading module dummy_threading will always return -1
* Remove pywin32 from scons win32 install requirements. Remove usage from ↵William Deegan2020-10-041-14/+1
| | | | SCons.Script.main
* Update some copyright strings and drop __revision__ [skip appveyor]Mats Wichmann2020-09-231-18/+15
| | | | | | | | | | | | | | | | | | 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>
* Use cProfile if profiling.Mats Wichmann2020-09-211-2/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Address review feedbackAdam Gross2020-08-031-1/+1
| | | | Do the "* 1024" when setting File.md5_chunksize, not when using it later.
* fix scons --version and packagingWilliam Deegan2020-07-041-2/+2
|
* All working except automatic build of wheel and sdist packageWilliam Deegan2020-06-301-4/+3
|
* Close scons logfiles on completionMats Wichmann2020-05-291-0/+5
| | | | | | | | | | | Files written to in logging operations could remain unclosed: more modern Pythons grumble about this; given the type of Python build, could emit ResourceWarning messages which cause tests to fail. Close by registering calls with atexit. Affects Trace, cache debug, taskmastertrace, configure. Signed-off-by: Mats Wichmann <mats@linux.com>
* classes no longer explicitly inherit from objectMats Wichmann2020-05-241-5/+5
| | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
* Bump unsupported/deperecated Py versionsMats Wichmann2020-05-161-2/+2
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Reorganize the repo. Moved src/engine/SCons to ./SCons to be more in line ↵William Deegan2020-05-061-0/+1453
with current python packaging practices