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