build man page without CMake

This commit is contained in:
Sarah Hoffmann
2024-08-07 16:38:56 +02:00
parent 8e46458d9e
commit 474a22cb3b
6 changed files with 189 additions and 75 deletions

12
man/create-manpage.py Normal file
View File

@@ -0,0 +1,12 @@
import sys
import os
from pathlib import Path
sys.path.append(str(Path(__file__, '..', '..', 'src').resolve()))
from nominatim_db.cli import get_set_parser
def get_parser():
parser = get_set_parser()
return parser.parser