eive-obsw/generators/definitions.py

15 lines
333 B
Python
Raw Normal View History

2021-08-02 11:43:49 +02:00
import os
2021-05-17 18:56:38 +02:00
import enum
2021-08-02 11:43:49 +02:00
from pathlib import Path
2021-05-17 18:56:38 +02:00
2021-08-02 11:43:49 +02:00
PATH_VAR_ROOT = Path(os.path.abspath(os.curdir))
ROOT_DIR = PATH_VAR_ROOT.absolute()
OBSW_ROOT_DIR = PATH_VAR_ROOT.parent.absolute()
2021-05-18 16:14:11 +02:00
DATABASE_NAME = "eive_mod.db"
2021-05-17 18:56:38 +02:00
class BspType(enum.Enum):
BSP_Q7S = "bsp_q7s"
BSP_HOSTED = "bsp_hosted"
BSP_LINUX_BOARD = "bsp_linux_board"