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 from nominatim_core.version import NominatimVersion, parse_version
14 NOMINATIM_VERSION = NominatimVersion(4, 4, 99, 1)
16 POSTGRESQL_REQUIRED_VERSION = (9, 6)
17 POSTGIS_REQUIRED_VERSION = (2, 2)
19 # Cmake sets a variable @GIT_HASH@ by executing 'git --log'. It is not run
20 # on every execution of 'make'.
21 # cmake/tool-installed.tmpl is used to build the binary 'nominatim'. Inside
22 # there is a call to set the variable value below.
23 GIT_COMMIT_HASH : Optional[str] = None