Imagine / run.py
imseldrith's picture
Update run.py
038f008
raw
history blame
384 Bytes
import subprocess
def setup_imaginepy():
#subprocess.run(["git", "clone", "https://github.com/ItsCEED/Imaginepy"])
subprocess.Popen("git clone https://github.com/ItsCEED/Imaginepy && cd Imaginepy && python -m venv env && source env/bin/activate && python setup.py install", shell=True)
subprocess.run(["cd", ".."])
setup_imaginepy()
subprocess.run(["python", "app.py"])