Allow parametrizing paths

This commit is contained in:
Aarni Koskela
2022-08-31 15:12:46 +03:00
parent cdc6d9cc89
commit 538bc6083a
6 changed files with 19 additions and 8 deletions

5
pulkka/config.py Normal file
View File

@@ -0,0 +1,5 @@
import os
from pathlib import Path
DATA_DIR = Path(os.environ.get("DATA_DIR", "data"))
OUT_DIR = Path(os.environ.get("OUT_DIR", "out"))