Skip to content
Myr

install

This file

Path

scripts/install

19 lines · 357 bytes

Last changed by

Remove unneeded installation on `install` script (#2398)Tom Christiebefore adoption770d4f2

History of this file

Take it

1#!/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"16fi1718"$PIP" install -U pip19"$PIP" install -r "$REQUIREMENTS"