tykiww commited on
Commit
20f6573
1 Parent(s): c7fc37b

Create utilities/setup.py

Browse files
Files changed (1) hide show
  1. utilities/setup.py +10 -0
utilities/setup.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+
4
+
5
+ def get_json_cfg():
6
+ """Retrieve configuration file"""
7
+ config_path = os.getenv('CONFIG_PATH')
8
+ with open(config_path, 'r') as file:
9
+ config = json.load(file)
10
+ return config