]> git.openstreetmap.org Git - nominatim.git/blob - cmake/tool.tmpl
332e4330a070915ab3671557785bc566d03411ea
[nominatim.git] / cmake / tool.tmpl
1 #!/usr/bin/env python3
2 import sys
3
4 sys.path.insert(1, '@CMAKE_SOURCE_DIR@')
5
6 from nominatim import tools
7
8 tools.@tool_name@(module_dir='@CMAKE_BINARY_DIR@/module',
9                   osm2pgsql_path='@CMAKE_BINARY_DIR@/osm2pgsql/osm2pgsql',
10                   phplib_dir='@CMAKE_SOURCE_DIR@/lib',
11                   data_dir='@CMAKE_SOURCE_DIR@')