X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/5d95a72758f685ca6e08e5f5d82dccbe895aaa04..7591c4fb42a6c97dbb526ae0f8d4f745571b2cd8:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index c6f63a8b..f5820c7f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,20 +57,11 @@ endif() #----------------------------------------------------------------------------- -# python and pyosmium (imports/updates only) +# python (imports/updates only) #----------------------------------------------------------------------------- if (BUILD_IMPORTER) find_package(PythonInterp 3.5 REQUIRED) - - find_program(PYOSMIUM pyosmium-get-changes) - if (NOT EXISTS "${PYOSMIUM}") - set(PYOSMIUM_PATH "") - message(WARNING "pyosmium-get-changes not found (required for updates)") - else() - set(PYOSMIUM_PATH "${PYOSMIUM}") - message(STATUS "Using pyosmium-get-changes at ${PYOSMIUM_PATH}") - endif() endif() #----------------------------------------------------------------------------- @@ -191,7 +182,7 @@ if (BUILD_TESTS) if (PYLINT) message(STATUS "Using pylint binary ${PYLINT}") add_test(NAME pylint - COMMAND ${PYLINT} nominatim + COMMAND ${PYLINT} --extension-pkg-whitelist=osmium nominatim WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}) else() message(WARNING "pylint not found. Python linting tests disabled.")