diff options
Diffstat (limited to 'python')
| -rwxr-xr-x | python/install.sh | 15 | ||||
| -rw-r--r-- | python/requirements.pip38.txt | 1 | ||||
| -rw-r--r-- | python/requirements.pip39.txt | 2 |
3 files changed, 18 insertions, 0 deletions
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 diff --git a/python/requirements.pip38.txt b/python/requirements.pip38.txt new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/python/requirements.pip38.txt @@ -0,0 +1 @@ +pip diff --git a/python/requirements.pip39.txt b/python/requirements.pip39.txt new file mode 100644 index 0000000..d790e53 --- /dev/null +++ b/python/requirements.pip39.txt @@ -0,0 +1,2 @@ +sublime-music +pip |
