]> git.openstreetmap.org Git - nominatim.git/blob - cmake/tool.tmpl
40f2b8ea7920e910641577002a2aac1d051fadfd
[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 cli
7
8 exit(cli.nominatim(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@'))