1 # SPDX-License-Identifier: GPL-3.0-or-later
3 # This file is part of Nominatim. (https://nominatim.org)
5 # Copyright (C) 2024 by the Nominatim developer community.
6 # For a full list of authors see the git log.
8 Version information for Nominatim.
10 from typing import Optional
12 # See also https://github.com/PyCQA/pylint/issues/6006
13 # pylint: disable=useless-import-alias,unused-import
15 from nominatim_core.version import (NominatimVersion as NominatimVersion,
16 parse_version as parse_version)
18 NOMINATIM_VERSION = NominatimVersion(4, 4, 99, 1)
20 POSTGRESQL_REQUIRED_VERSION = (9, 6)
21 POSTGIS_REQUIRED_VERSION = (2, 2)
23 # Cmake sets a variable @GIT_HASH@ by executing 'git --log'. It is not run
24 # on every execution of 'make'.
25 # cmake/tool-installed.tmpl is used to build the binary 'nominatim'. Inside
26 # there is a call to set the variable value below.
27 GIT_COMMIT_HASH : Optional[str] = None