Module: safe.common.version

safe.common.version.get_git_changeset()[source]

Returns a numeric identifier of the latest git changeset.

The result is the UTC timestamp of the changeset in YYYYMMDDHHMMSS format. This value isn’t guaranteed to be unique, but collisions are very unlikely, so it’s sufficient for generating the development version numbers.

safe.common.version.get_version(version=None)[source]

Returns a PEP 386-compliant version number from VERSION.

This module forms part of the InaSAFE tool.

Previous topic

Module: safe.common.tables

Next topic

Module: safe.common.test_polygon

This Page