summaryrefslogtreecommitdiffstats
path: root/bin/SConsExamples.py
Commit message (Collapse)AuthorAgeFilesLines
* classes no longer explicitly inherit from objectMats Wichmann2020-05-241-2/+2
| | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
* [WIP] adjust docbuild for moved src [ci skip]Mats Wichmann2020-05-101-3/+3
| | | | | | | src/engine/SCons moved to SCons, affects wired in paths in documentation, and doc building scripts Signed-off-by: Mats Wichmann <mats@linux.com>
* SConsExamples: drop bootstrap reference [ci skip]Mats Wichmann2020-04-191-9/+3
| | | | | | | | | | bootstrap directory not used any longer, dropped. One generated example (troubleshoot_stacktrace) was directly affected. A different generated troubleshooting example was instroduced by an earlier change but never committed, including here for completeness. Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix one more instance of moved scons.py [ci skip]Mats Wichmann2020-04-181-4/+3
| | | | | | SConsExamples still using src/script Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove obsolete scripts. Remove py27 supportWilliam Deegan2020-03-211-2/+0
|
* syntax fixups suggested by PyCharmMats Wichmann2019-12-231-1/+1
| | | | | | | | | | | | | | Drop unneeded parens. Drop trailing semicolons. Triple double-quote docstrings. Regexes drop unneeded escapes. Spaces around parens, braces: remove/add. Some one-tuples get their missing closing comma. A couple of sets use set init syntax {foo} instead of set([iter]) now. And a fiddle in Node to reduce lookup time on md5 signature functions (came about because of a line-too-long issue, initially) Signed-off-by: Mats Wichmann <mats@linux.com>
* [PR #3343] fix review comments [ci skip]Mats Wichmann2019-12-051-1/+0
| | | | | | | | | | 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>
* Improve building of docs using Py3 [ci skip]Mats Wichmann2019-12-051-38/+38
| | | | | | | | | | | | | | | | | | | | * 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>
* Fix xml entity generation in examples [ci skip]Mats Wichmann2019-09-071-1/+1
| | | | | | | | Closes #3003: those examples which wanted to generate a phony address for a Python object were doing so incorrectly, causing output to end up with &amp;gt; instead of &gt;. Signed-off-by: Mats Wichmann <mats@linux.com>
* move test files from QMTest to testing/framework. QMtest hasn't been used in ↵William Deegan2018-04-301-2/+2
| | | | quite some time
* Replace all instances of `int main()` with `int main(void)`Jonathon Reinhart2018-02-111-1/+1
|
* Refactor some variable names. Create a SConstruct_created next to created ↵William Deegan2017-11-141-21/+27
| | | | files for document examples so the example code can be rerun manually to debug any issues found when running
* Add ability to regenerate a single example outputWilliam Deegan2017-11-141-2/+9
|
* remove reference to tools no longer included in SConsWilliam Deegan2017-09-021-9/+7
|
* When iterating over dict.items(), we do not need a new list.Craig Rodrigues2017-03-121-2/+2
|
* Futurize stage 2 2to3 fixes only.William Blevins2016-09-201-2/+2
|
* Run futurize --stage1.Russel Winder2016-01-011-63/+65
|
* Result of raw 2to3 run (2to3-2.7); checkpoint for python3 conversion.Gary Oberbrunner2013-09-221-10/+10
|
* - cleaned up 'bin' directoryDirk Baechle2013-05-031-57/+57
| | | | | - several smaller fixes - added first version of the Overview document for the doc toolchain
* - removed suffix= from 'scons_output_command ' and moved itDirk Baechle2013-05-031-37/+640
| | | | one up in the hierarchy to the 'scons_output' tag
* - corrected xincludes for MAN pagesDirk Baechle2013-05-031-0/+295
- started to work on support for UserGuide examples - added xslt for transforming SCons XSD to Docbook documents - added SConstructs for all documents and titlepage for the UserGuide