imseldrith commited on
Commit
60a8797
·
1 Parent(s): 8443dc9

Create run.py

Browse files
Files changed (1) hide show
  1. run.py +11 -0
run.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import subprocess
2
+
3
+ def setup_imaginepy():
4
+ subprocess.run(["git", "clone", "https://github.com/ItsCEED/Imaginepy"])
5
+ subprocess.run(["cd", "Imaginepy"])
6
+ subprocess.run(["python", "-m", "venv", "env"])
7
+ subprocess.run(["source", "env/bin/activate"])
8
+ subprocess.run(["python", "setup.py", "install"])
9
+ subprocess.run(['cd',".."])
10
+ setup_imaginepy()
11
+ subprocess.run(["python","app.py"])