Skip to content

Gather version information and export as any programming language source file for inclusion into compilation.

License

Notifications You must be signed in to change notification settings

Paebbels/pyVersioning

Repository files navigation

Sourcecode on GitHub Sourcecode License Documentation Documentation License
PyPI PyPI - Status PyPI - Python Version
GitHub Workflow - Build and Test Status Libraries.io status for latest release Codacy - Quality Codacy - Coverage Codecov - Branch Coverage

pyVersioning

The Python package pyVersioning offers a template tool to write version information for any programming language as a source file that can be included into the normal application build flow.

The main idea is to provide a unified tool to collect all necessary version information from a configuration file, user defined parameters, version control systems (e.g. Git) or environment variables. Especially the latter ones can be tricky in CI environments, as every CI service uses different environment variables.

Use Cases

  • Integrate version information from e.g. Git, GitHub, GitLab, ... into current software builds.

Supported Languages

  • Any language

Tested with...

  • ANSI C
  • C++
  • VHDL

Examples

  • ANSI C Example
  • C++ Example
  • VHDL Example

Contributors

License

This Python package (source code) is licensed under Apache License 2.0.
The accompanying documentation is licensed under Creative Commons - Attribution-4.0 (CC-BY 4.0).


SPDX-License-Identifier: Apache-2.0