version_info = (0, 16, 1, 'final', 0)  # cranko project-version tuple

_specifier_ = {
    "alpha": ".a",
    "beta": ".b",
    "candidate": ".rc",
    "final": "",
    "dev": ".dev",
}

__version__ = "%s.%s.%s%s" % (
    version_info[0],
    version_info[1],
    version_info[2],
    ""
    if version_info[3] == "final"
    else _specifier_[version_info[3]] + str(version_info[4]),
)

# The strings are auto-updated by Cranko during formal releases:
version_doi = "10.5281/zenodo.7187355"
concept_doi = "10.5281/zenodo.7164147"
