summaryrefslogtreecommitdiff
path: root/site_scons
Commit message (Collapse)AuthorAgeFilesLines
* Get the zipapp support working correctly [ci skip]Mats Wichmann2023-01-032-18/+25
| | | | | | | Needed to pass a different source and also pass an entry point to the zipapp.create_archive method. Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix sider complaintMats Wichmann2023-01-031-5/+1
| | | | Signed-off-by: Mats Wichmann <mats@linux.com>
* Experimental: build a scons-local zipapp [skip appveyor]Mats Wichmann2023-01-032-85/+153
| | | | | | | | | | | | | | | | | | To use, set do_zipapp to True in site_scons/scons_local_package.py Will produce a build/dist/scons-local-${VERSION}.pyz which can be directly executed - copy to a work dir, and run as python scons-local-4.3.1.pyz or even ./scons-local-4.3.1.pyz Windows should have a file association for .pyz files, otherwise it works there too by calling it as an argument of the interpreter. Signed-off-by: Mats Wichmann <mats@linux.com>
* Remove last reference to distutilsMats Wichmann2022-05-101-2/+2
| | | | | | | | distutils is deprecated, is now giving warnings, and will be removed in Python 3.12. SCons code no longer uses it, but there was one reference in SCons' own site_scons (used when packaging). Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix reproducible builds. Restore logic respecting SOURCE_DATE_EPOCH when ↵William Deegan2021-08-021-1/+1
| | | | set. Fix version tests to work with updated scons --version output. (Date format changed)
* fix doc release date to be the same as the format in CHANGES.txt,etcWilliam Deegan2021-07-181-1/+14
|
* Fix several sider complaintsMats Wichmann2021-05-051-2/+2
| | | | | | | | | | Unfortunately, this made for more reformatting - sider complains in some of these about indent not being a multiple of four because one line of a block was touched, to eliminate had to reindent the whole block, including all the lines not touched by the original commit. Used a tool... Signed-off-by: Mats Wichmann <mats@linux.com>
* Fix some imports and other checker warningsMats Wichmann2021-05-051-3/+3
| | | | | | | | | | | | | * 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>
* scons.1 sconsign.1 scons-time.1 now make it into zip, tgz sdist and wheelWilliam Deegan2020-10-091-1/+9
|
* mark SCons/__init__.py as NoClean() so scons -c doesn't leave the tree in a ↵William Deegan2020-10-091-0/+1
| | | | broken state
* Fix version info in scons-local package scriptsWilliam Deegan2020-07-061-1/+3
|
* clean up sider/flake8 warningsWilliam Deegan2020-06-302-1/+2
|
* have scripts use central SCons.__init__.py's __version__,etcWilliam Deegan2020-06-301-8/+6
|
* All working except automatic build of wheel and sdist packageWilliam Deegan2020-06-301-4/+9
|
* API doc builds working now. Generating SCons/__versioninfo.py but not yet ↵William Deegan2020-06-302-0/+14
| | | | using it
* cleanupWilliam Deegan2020-06-291-4/+3
|
* a little clean upWilliam Deegan2020-06-231-3/+2
|
* Add scons-local-${VERSION}.tar.gzWilliam Deegan2020-06-231-7/+13
|
* updates. build/dist/scons-local-${VERSION}.zip is now producedWilliam Deegan2020-06-233-5/+41
|
* add copyright noticeWilliam Deegan2020-06-161-0/+61
|
* classes no longer explicitly inherit from objectMats Wichmann2020-05-241-1/+1
| | | | | | In Python3 this is the default. Signed-off-by: Mats Wichmann <mats@linux.com>
* Address github review notes and sider issuesWilliam Deegan2020-04-113-5/+10
|
* First pass of refactor. Moved command line argument processing into ↵William Deegan2020-04-093-3/+155
| | | | site_scons/BuildCommandLine.py. Sorted out all changes caused by that.
* add SKIP_DOC= variable to enable disabling buildign documents. Moved epydoc ↵William Deegan2020-04-092-1/+102
| | | | setup into site_scons/epydoc.py
* [ci skip] Fix SConsRevision.py to properly use with open as f instead of ↵William Deegan2020-02-051-3/+5
| | | | open, which was throwing warnings when run with newer pythons
* syntax fixups suggested by PyCharmMats Wichmann2019-12-232-2/+2
| | | | | | | | | | | | | | 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>
* [PY 3.8] test fixes for file closings, rawstringsMats Wichmann2019-04-251-10/+8
| | | | | | | On a linux host (missing some things that may be on the Travis CI setup), Py3.8a3 now shows 19 fails, 1048 pass, with 84 Warning: messages. Signed-off-by: Mats Wichmann <mats@linux.com>
* Simplify main SConstruct. Remove deb and rpm and win executable package ↵William Deegan2017-10-034-1/+137
| | | | creation as we're moving to pip install being the main install path.
* Migrate some logic from SConstruct into site_scons to simplify top level ↵William Deegan2017-10-022-0/+41
SConstruct