Skip to content

Commit

Permalink
Update run_pyco
Browse files Browse the repository at this point in the history
  • Loading branch information
verifit committed Oct 24, 2023
1 parent 4c95973 commit 80ff991
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/run_pyco.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,7 @@ prepend_directory() {
tmp_output=$(mktemp)
"$basedir/"pycobench >& "$tmp_output"
if grep -q ModuleNotFoundError "$tmp_output"; then
echo "[!] Your system is missing python modules for running pycobench."
read -p "Do you wish to install these requirements? [y/n] " choice
case "$choice" in
y|Y ) python3 -m pip install -r requirements.txt;;
* ) die "missing pycobench depedencies; please, install then from 'test-integration/requirements.txt'";;
esac
die "error: your system is missing python modules for running pycobench. Did you run 'install requirements.sh'?"
fi
rm "$tmp_output"

Expand Down

0 comments on commit 80ff991

Please sign in to comment.