cleanup path handling for easier dockerization
This commit is contained in:
9
backend/src/constants.py
Normal file
9
backend/src/constants.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
PARAMETERS_DIR = Path('src/parameters')
|
||||
AMENITY_SELECTORS_PATH = PARAMETERS_DIR / 'amenity_selectors.yaml'
|
||||
LANDMARK_PARAMETERS_PATH = PARAMETERS_DIR / 'landmark_parameters.yaml'
|
||||
OPTIMIZER_PARAMETERS_PATH = PARAMETERS_DIR / 'optimizer_parameters.yaml'
|
||||
|
||||
OSM_CACHE_DIR = Path('cache')
|
||||
Reference in New Issue
Block a user