Skip to content
Myr

install

This file

Path

scripts/install

19 lines · 355 bytes

Last changed by

Not known.

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 -r "$REQUIREMENTS"19"$PIP" install -e .