install
This file
Path
scripts/install
20 lines · 377 bytes
Last changed by
Always use latest version of `pip`. (#2396)Tom Christiebefore adoption2ac58e0
History of this fileTake it
The walk stopped after 200 commits: lines older than 7025dd1 point at it.
fix typo in http2 section (#1632)Jaakko Lappalainenbefore adoption7025dd1
lines 1–17why, one step back1#!/bin/sh -e23# Use the Python executable provided from the `-p` option, or a default.4[ "$1" = "-p" ] && PYTHON=$2 || PYTHON="python3"56REQUIREMENTS="requirements.txt"7VENV="venv"89set -x1011if [ -z "$GITHUB_ACTIONS" ]; then12 "$PYTHON" -m venv "$VENV"13 PIP="$VENV/bin/pip"14else15 PIP="pip"16fi17Always use latest version of `pip`. (#2396)Tom Christiebefore adoption2ac58e0
line 18why, one step back18"$PIP" install -U pipfix typo in http2 section (#1632)Jaakko Lappalainenbefore adoption7025dd1
lines 19–20why, one step back19"$PIP" install -r "$REQUIREMENTS"20"$PIP" install -e .