19 lines
743 B
Python
19 lines
743 B
Python
|
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/'
|