Skip to content
Myr

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 file

Take 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 back
1#!/bin/sh -e
23# 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"16fi17

Always use latest version of `pip`. (#2396)Tom Christiebefore adoption2ac58e0

line 18why, one step back
18"$PIP" install -U pip

fix typo in http2 section (#1632)Jaakko Lappalainenbefore adoption7025dd1

lines 19–20why, one step back
19"$PIP" install -r "$REQUIREMENTS"
20"$PIP" install -e .