# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Fullbleed-Commercial
from importlib.metadata import PackageNotFoundError, version


def _get_version():
    for dist in ("fullbleed", "fullbleed-cli"):
        try:
            return version(dist)
        except PackageNotFoundError:
            continue
    return "0.0.0-dev"


__version__ = _get_version()
