mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
add Python package configuration
The global configuration builds one large package.
This commit is contained in:
15
wheel_build/nominatim/paths.py
Normal file
15
wheel_build/nominatim/paths.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
#
|
||||
# This file is part of Nominatim. (https://nominatim.org)
|
||||
#
|
||||
# Copyright (C) 2024 by the Nominatim developer community.
|
||||
# For a full list of authors see the git log.
|
||||
"""
|
||||
Path settings for extra data used by Nominatim.
|
||||
"""
|
||||
from pathlib import Path
|
||||
|
||||
PHPLIB_DIR = None
|
||||
DATA_DIR = (Path(__file__) / '..' / 'resources').resolve()
|
||||
SQLLIB_DIR = (DATA_DIR / 'lib-sql')
|
||||
CONFIG_DIR = (DATA_DIR / 'settings')
|
||||
5
wheel_build/shared/scripts/nominatim
Executable file
5
wheel_build/shared/scripts/nominatim
Executable file
@@ -0,0 +1,5 @@
|
||||
#!python3
|
||||
|
||||
from nominatim import cli
|
||||
|
||||
exit(cli.nominatim(module_dir=None, osm2pgsql_path=None))
|
||||
Reference in New Issue
Block a user