-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
27 lines (23 loc) · 1 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from pathlib import Path
REFERENCE_FMUS_VERSION = "0.0.23"
OPENMODELICA_VERSION = "1.21.0"
MODELICA_STANDARD_LIBRARY_VERSION = "4.0.0"
REFERENCE_FMUS_DIR_NAME = 'Reference-FMUs'
OPENMODELICA_DIR_NAME = 'OpenModelica'
OPENMODELICA_MODELS_DIR_NAME = 'models'
OPENMODELICA_FMUS_DIR_NAME = 'FMUs'
OPENMODELICA_BUILD_DIR_NAME = 'build'
OPENMODELICA_SCRIPTS_DIR_NAME = 'scripts'
REFERENCE_FMUS_DIR = Path(__file__).parent / REFERENCE_FMUS_DIR_NAME
OPENMODELICA_DIR = Path(__file__).parent / OPENMODELICA_DIR_NAME
OPENMODELICA_MODELS_DIR = OPENMODELICA_DIR / OPENMODELICA_MODELS_DIR_NAME
OPENMODELICA_FMUS_DIR = OPENMODELICA_DIR / OPENMODELICA_FMUS_DIR_NAME
OPENMODELICA_BUILD_DIR = OPENMODELICA_DIR / OPENMODELICA_BUILD_DIR_NAME
OPENMODELICA_SCRIPTS_DIR = OPENMODELICA_DIR / OPENMODELICA_SCRIPTS_DIR_NAME
if __name__ == '__main__':
print(REFERENCE_FMUS_DIR)
print(OPENMODELICA_DIR)
print(OPENMODELICA_MODELS_DIR)
print(OPENMODELICA_FMUS_DIR)
print(OPENMODELICA_BUILD_DIR)
print(OPENMODELICA_SCRIPTS_DIR)