generated from dopt-python/py311
16 lines
371 B
Python
16 lines
371 B
Python
import os
|
|
from pathlib import Path
|
|
|
|
PROJECT_ROOT = Path(__file__).parents[2]
|
|
DB_PATH = PROJECT_ROOT / "data/db"
|
|
|
|
DB_KONTAKTLISTE = DB_PATH / "wce_kontaktliste.db"
|
|
assert DB_KONTAKTLISTE.exists()
|
|
DB_CRM = DB_PATH / "wce_crm.db"
|
|
assert DB_CRM.exists()
|
|
|
|
|
|
def setup():
|
|
os.environ["DOPT_DB_KONTAKTLISTE"] = str(DB_KONTAKTLISTE)
|
|
os.environ["DOPT_DB_CRM"] = str(DB_CRM)
|