2 # SPDX-License-Identifier: GPL-3.0-or-later
4 # This file is part of Nominatim. (https://nominatim.org)
6 # Copyright (C) 2024 by the Nominatim developer community.
7 # For a full list of authors see the git log.
9 Helper script for development to run nominatim from the source directory.
11 from pathlib import Path
14 sys.path.insert(1, str((Path(__file__) / '..' / 'src').resolve()))
16 from nominatim_db import cli
18 exit(cli.nominatim(module_dir=None, osm2pgsql_path=None))