NDCT/ndct/core/paths.py

19 lines
743 B
Python
Raw Permalink Normal View History

2024-06-09 19:22:26 +01:00
import os
current_path = os.path.dirname(__file__)
#For compatability with any operating system
#KEY_PATH = current_path + '/db/key.key'
#MODULE_PATH = os.path.dirname(current_path) + '/modules/'
#CONFIG_PATH = current_path + '/configuration_files/'
#METADATA_PATH = current_path + '/device_metadata/'
#LOGGING_PATH = current_path + '/logs/'
#DB_PATH = current_path + '/db/'
#For testing only
KEY_PATH = 'Documents/Python/NDCT/ndct/core/db/key.key'
MODULE_PATH = 'Documents/Python/NDCT/ndct/modules/'
CONFIG_PATH = 'Documents/Python/NDCT/ndct/core/configuration_files/'
METADATA_PATH = 'Documents/Python/NDCT/ndct/core/device_metadata/'
LOGGING_PATH = 'Documents/Python/NDCT/ndct/core/logs/'
DB_PATH = 'Documents/Python/NDCT/ndct/core/db/'