File size: 779 Bytes
a43ebb2
 
82e1c53
36e64ae
a43ebb2
 
 
 
 
 
82e1c53
fb2025f
067686e
f1e3c17
20e3d51
3fca83a
ac9762c
4643d7f
ac9762c
20e3d51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os 
import pprint 
os.environ["HYDRA_FULL_ERROR"] = "1"
os.environ["PATH"].append(f'{os.getcwd}/Kinetix')
# Get the list of user's 
env_var = os.environ 
  
# Print the list of user's 
print("User's Environment variable:") 
pprint.pprint(dict(env_var), width = 1) 

#os.system(f"""python kinetix/editor.py --config-path my_configs/ --config-name my_config""")
os.system(f"""python kinetix/editor.py --config-path ../Kinetix/configs/ --config-name editor""")

'''os.system(f"""cd Kinetix && pip install -e . &&
pre-commit install &&
export PATH=$PATH:{os.getcwd()}/Kinetix/kinetix &&
cd {os.getcwd()} && python {os.getcwd()}/Kinetix/kinetix/editor.py""")
#os.system(f"export PATH=$PATH:{os.getcwd()}/Kinetix/kinetix")
#os.system("cd Kinetix/kinetix && python editor.py")'''