Skip to content

Commit

Permalink
Add clickable install and run file
Browse files Browse the repository at this point in the history
  • Loading branch information
cswh committed Aug 13, 2020
1 parent 9860bd1 commit 8d0e0c8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import subprocess
import sys

subprocess.check_call([sys.executable, '-m', 'pip', 'install', '-r' 'requirements.txt'])
6 changes: 6 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from model import run
from tkinter import filedialog

scenario = filedialog.askdirectory(title='Please select scenario folder')

run(scenario)

0 comments on commit 8d0e0c8

Please sign in to comment.