From 7c2647aa1a0948c3df384a52bb45cb8571147070 Mon Sep 17 00:00:00 2001 From: Wouter Gordts Date: Thu, 29 Sep 2022 15:29:14 +0200 Subject: [PATCH] xonsh in venv --- bootstrap.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index b298958..96f79d7 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -129,6 +129,9 @@ function symlink_config_files () { } function install_pip_dependencies () { + mkdir -p ~/virtual_envs + python3 -m venv ~/virtual_envs/base + source ~/virtual_envs/base/bin/activate for dep in $DEPENDENCIES_PIP; do pip3 install --upgrade "$dep" > $LOG && echo "installed $dep" done @@ -138,6 +141,7 @@ function install_pip_dependencies () { function change_shell () { local path=$(which xonsh) echo $path + path=~/virtual_envs/base/bin/xonsh if ! [[ -z $path ]]; then if [[ -z "$(grep xonsh /etc/shells)" ]]; then echo "$path" | sudo tee -a /etc/shells