Skip to content

Commit

Permalink
fix failling ci
Browse files Browse the repository at this point in the history
  • Loading branch information
daveads committed Sep 23, 2024
1 parent 2adf5b6 commit a295c17
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/install
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
#!/bin/sh -e

# Use the Python executable provided from the `-p` option, or a default.
[ "$1" = "-p" ] && PYTHON=$2 || PYTHON="python3"

REQUIREMENTS="requirements.txt"
VENV="venv"

set -x

if [ -z "$GITHUB_ACTIONS" ]; then
"$PYTHON" -m venv "$VENV"
PIP="$VENV/bin/pip"
else
PIP="pip"
fi

"$PIP" install -r "$REQUIREMENTS"
"$PIP" install --upgrade setuptools twine
"$PIP" install -e .

0 comments on commit a295c17

Please sign in to comment.