pyVersioning collects various information from the build environment and provides the collected information as structured field. These fields can be queried individually or can be used with a template to fillout and generate a source file. This source file can then be used in a normal build flow by the compiler.
Collected Information
- Platform
- Environment variables
- Version Control System information (e.g. commit hash, branch, tag)
- Static data from configuration file
- Static data from command line arguments
pyVersioning variables
pyVersioning field git.commit.date
pyVersioning fillout versioning.c.template versioning.c
pyVersioning yaml
pyVersioning json