Create a eryn
Python virtual environment in my home directory for local packages
This commit is contained in:
parent
cd21b15b65
commit
4c9e58e179
1 changed files with 4 additions and 1 deletions
5
setup.sh
5
setup.sh
|
@ -121,7 +121,10 @@ while getopts "v" arg $@; do
|
|||
esac
|
||||
done
|
||||
|
||||
python3 -m pip install --user "$dotfiles_dir/Python/eryntools"
|
||||
print "Creating Python virtual environment"
|
||||
local venv_path=~/.local/share/python-virtual-environments/eryn
|
||||
python3 -m venv --system-site-packages "$venv_path"
|
||||
"$venv_path/bin/pip" install "$dotfiles_dir/Python/eryntools"
|
||||
|
||||
if (( $configure_vim )); then
|
||||
print -P "%BConfiguring Vim%b"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue