From cc8751fd7f338db173c2c04355460fd5cbcefb98 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sun, 27 Dec 2020 19:00:33 +0100 Subject: . --- python/install.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 python/install.sh (limited to 'python/install.sh') diff --git a/python/install.sh b/python/install.sh new file mode 100755 index 0000000..3090eff --- /dev/null +++ b/python/install.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +PYTHON38=$(which python3.8) +PYTHON39=$(which python3.9) + +PYTHON38_DIR=~/python38 +PYTHON39_DIR=~/python39 + +[ ! -d $PYTHON38_DIR ] && $PYTHON38 -m venv --system-site-packages $PYTHON38_DIR +[ ! -d $PYTHON39_DIR ] && $PYTHON39 -m venv --system-site-packages $PYTHON39_DIR + +$PYTHON38_DIR/bin/pip -q install -U -r ~/.dotfiles/python/requirements.pip38.txt +$PYTHON39_DIR/bin/pip -q install -U -r ~/.dotfiles/python/requirements.pip39.txt -- cgit v1.2.3-70-g09d2