]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/clicmd/index.py
split code into submodules
[nominatim.git] / src / nominatim_db / clicmd / index.py
similarity index 91%
rename from nominatim/clicmd/index.py
rename to src/nominatim_db/clicmd/index.py
index 86a504e71f15b56e53d9886cabcde14fee849cb5..7766a1d10b4f3a7e9cb968194495bba1092aedac 100644 (file)
@@ -1,8 +1,8 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: GPL-3.0-or-later
 #
 # This file is part of Nominatim. (https://nominatim.org)
 #
 #
 # This file is part of Nominatim. (https://nominatim.org)
 #
-# Copyright (C) 2022 by the Nominatim developer community.
+# Copyright (C) 2024 by the Nominatim developer community.
 # For a full list of authors see the git log.
 """
 Implementation of the 'index' subcommand.
 # For a full list of authors see the git log.
 """
 Implementation of the 'index' subcommand.
@@ -11,9 +11,9 @@ import argparse
 
 import psutil
 
 
 import psutil
 
-from nominatim.db import status
-from nominatim.db.connection import connect
-from nominatim.clicmd.args import NominatimArgs
+from nominatim_core.db import status
+from nominatim_core.db.connection import connect
+from .args import NominatimArgs
 
 # Do not repeat documentation of subcommand classes.
 # pylint: disable=C0111
 
 # Do not repeat documentation of subcommand classes.
 # pylint: disable=C0111