Skip to content
Myr

install

This file

Path

scripts/install

19 lines · 355 bytes

Last changed by

Test Suite on GitHub Actions (#907)Tom Christiebefore adoption19bf211

History of this file

Take it

The walk stopped after 200 commits: lines older than 248aa58 point at it.

Add Response.stream_lines (#575)Tom Christiebefore adoption248aa58

lines 1–2why, one step back
1#!/bin/sh -e
2

Test Suite on GitHub Actions (#907)Tom Christiebefore adoption19bf211

lines 3–4why, one step back
3# Use the Python executable provided from the `-p` option, or a default.
4[ "$1" = "-p" ] && PYTHON=$2 || PYTHON="python3"

Add Response.stream_lines (#575)Tom Christiebefore adoption248aa58

line 5why, one step back
5

Test Suite on GitHub Actions (#907)Tom Christiebefore adoption19bf211

lines 6–8why, one step back
6REQUIREMENTS="requirements.txt"
7VENV="venv"8

Add Response.stream_lines (#575)Tom Christiebefore adoption248aa58

lines 9–10why, one step back
9set -x
10

Test Suite on GitHub Actions (#907)Tom Christiebefore adoption19bf211

lines 11–16why, one step back
11if [ -z "$GITHUB_ACTIONS" ]; then
12 "$PYTHON" -m venv "$VENV"13 PIP="$VENV/bin/pip"14else15 PIP="pip"16fi

Add Response.stream_lines (#575)Tom Christiebefore adoption248aa58

line 17why, one step back
17

Test Suite on GitHub Actions (#907)Tom Christiebefore adoption19bf211

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