X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1f3edf6ebace87b81ccdba7a978e52a56d1922a0..f3ffbe167d15f44605ac192bbf87013a85965425:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 332f1a12..4fe95f63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -233,7 +233,14 @@ if (BUILD_IMPORTER) install(DIRECTORY nominatim DESTINATION ${NOMINATIM_LIBDIR}/lib-python FILES_MATCHING PATTERN "*.py" + PATTERN "paths.py" EXCLUDE PATTERN __pycache__ EXCLUDE) + + configure_file(${PROJECT_SOURCE_DIR}/cmake/paths-py.tmpl paths-py.installed) + install(FILES ${PROJECT_BINARY_DIR}/paths-py.installed + DESTINATION ${NOMINATIM_LIBDIR}/lib-python/nominatim + RENAME paths.py) + install(DIRECTORY lib-sql DESTINATION ${NOMINATIM_LIBDIR}) install(FILES ${COUNTRY_GRID_FILE}