cola.version – Release versioning

Provides the current cola version number

exception cola.version.VersionUnavailable
cola.version.builtin_version()
Return the builtin version or throw a VersionUnavailable exception
cola.version.check(key, ver)
Checks if a version is greater than the known version for <what>
cola.version.check_version(min_ver, ver)
Check whether ver is greater or equal to min_ver
cola.version.delete_builtin_version()
Deletes cola/builtin_version.py.
cola.version.get(key)
Returns an entry from the known versions table
cola.version.git_describe_version()
Inspect the cola git repository and return the current version.
cola.version.git_version()
Returns the current GIT version
cola.version.version()
Returns the builtin version or calculates the current version.
cola.version.version_to_list(version)
Convert a version string to a list of numbers or strings
cola.version.write_builtin_version()
Writes cola/builtin_version.py.

Previous topic

cola.qtutils – Miscellaneous Qt helpers

This Page