Imagine / run.py
imseldrith's picture
Create run.py
60a8797
raw
history blame
401 Bytes
import subprocess
def setup_imaginepy():
subprocess.run(["git", "clone", "https://github.com/ItsCEED/Imaginepy"])
subprocess.run(["cd", "Imaginepy"])
subprocess.run(["python", "-m", "venv", "env"])
subprocess.run(["source", "env/bin/activate"])
subprocess.run(["python", "setup.py", "install"])
subprocess.run(['cd',".."])
setup_imaginepy()
subprocess.run(["python","app.py"])