<gh_stars>10-100
from importlib_metadata import version, PackageNotFoundError


__version__ = "Unknown"

# This uses importlib.metadata behaviour added in Python 3.8
# and relies on setuptools_scm.
try:
    __version__ = version("flexmeasures")
except PackageNotFoundError:
    # package is not installed
    pass

from importlib_metadata import version, PackageNotFoundError


__version__ = "Unknown"

# This uses importlib.metadata behaviour added in Python 3.8
# and relies on setuptools_scm.
try:
    __version__ = version("flexmeasures")
except PackageNotFoundError:
    # package is not installed
    pass
# This uses importlib.metadata behaviour added in Python 3.8 # and relies on setuptools_scm. # package is not installed