Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Mar 26, 2021
1 parent 4a33c2c commit 9565d78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ROOT="$( cd "$( dirname "$(readlink -f "$0")" )/.." >/dev/null 2>&1 && pwd )"
cd "${ROOT}"

python=$(which python3)
pip="${python} -m pip"

# Load common functions
source ./bin/_common
Expand All @@ -17,8 +16,11 @@ if [ ! -d "venv" ]; then
log.info "Initializing the virtual environment..."
${python} -m venv venv
source ./venv/bin/activate
python="${ROOT}/venv/bin/python3"
fi

pip="${python} -m pip"

log.info "Updating PIP..."
${pip} install --upgrade pip

Expand Down

0 comments on commit 9565d78

Please sign in to comment.