summaryrefslogtreecommitdiff
path: root/py/makeversionhdr.py
AgeCommit message (Collapse)Author
2018-12-22py/mpconfig: Move MICROPY_VERSION macros to static ones in mpconfig.h.Damien George
It's more robust to have the version defined statically in a header file, rather than dynamically generating it via git using a git tag. In case git doesn't exist, or a different source control tool is used, it's important to still have the uPy version number available.
2018-02-22py: Use "GEN" consistently for describing files generated in the build.Damien George
2017-07-04py/makeversionhdr.py: Update to parse new release line in docs/conf.py.Damien George
The line in docs/conf.py with the release/version number was recently changed and this patch makes the makeversionhdr.py script work again.
2015-10-30py/makeversionhdr.py: Work with backslashes in paths.omtinez
This script may be called by Windows IDEs (e.g. Visual Studio) and be passed paths with backslashes.
2015-08-12py/makeversionhdr.py: Use returncode attr to be Python2.7 compat.Damien George
2015-08-11py/makeversionhdr.py: Fallback to using docs version if no git repo.Damien George
Addresses issue #1420.
2015-05-30py: Get makeqstrdata.py and makeversionhdr.py running under Python 2.6.Damien George
These scripts should run under as wide a range of Python versions as possible.
2015-05-25py: Make makeversionhdr.py extract version from docs/conf.py if no git.Damien George
Addresses issue #1285.
2015-04-28py: Replace py-version.sh with makeversionhdr.py, written in Python.Damien George
Also rename py-version.h to mpversion.h for consistency with mpconfig.h.