summaryrefslogtreecommitdiff
path: root/SCons/Scanner/Python.py
Commit message (Collapse)AuthorAgeFilesLines
* Change SCons.Scanner.Base to ScannerBaseMats Wichmann2021-10-041-2/+2
| | | | | | | | | | Maintenance: SCons has multiple classes named Base, which is a bit unfortunate. Some already use a context-qualified name, like BuilderBase, which seems preferable. Do that for ScannerBase, but leave the name Base in the SCons.Scanner package in case *external* users are depending on SCons.Scanner.Base working. SCons internally no longer uses that name. Signed-off-by: Mats Wichmann <mats@linux.com>
* Scanner tweaksMats Wichmann2021-07-241-4/+11
| | | | | | | | | | | | | Maintenance and doc: - add new sconsign filenames to skip_entry_list in Scanner/Dir.py - modernize some usage in Scanner package such as calling super() - switch some initializations to comprehensions - some code formatting - Docstring for scanner Base moved from init-method to class-level so it's picked up by Sphinx (which skips dunder methods) - Manpage tweaks Signed-off-by: Mats Wichmann <mats@linux.com>
* Address review feedbackAdam Gross2021-01-091-4/+5
| | | | Better handle relative imports if no paths are provided.
* Fix tests, implement smarter version of scannerAdam Gross2020-11-171-41/+74
|
* Fix all testsAdam Gross2020-11-161-12/+10
| | | | This change fixes all tests. It's still a a WIP change because I think the "imports" logic is wrong for file imports.
* [ci skip] Some fixes to the Python scanner and testAdam Gross2020-11-161-34/+42
|
* Fix up scanner a bitAdam Gross2020-11-161-6/+10
| | | | Tests still break
* Some initial fixesAdam Gross2020-11-161-25/+32
|
* First draft of teaching Python scanner about dynamic filesAdam Gross2020-11-131-30/+22
|
* Update some copyright strings and drop __revision__ [skip appveyor]Mats Wichmann2020-09-231-18/+13
| | | | | | | | | | | | | | | | | | 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>
* Reorganize the repo. Moved src/engine/SCons to ./SCons to be more in line ↵William Deegan2020-05-061-0/+171
with current python packaging practices