Use system libs when creating the venv

This commit is contained in:
David Thurstenson 2017-06-21 16:46:12 +00:00
parent 3bc4f991cf
commit a0b48838d2
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ vactivate() {
local path=~/.venv/$1
if [[ ! -d $path ]]; then
python -m venv $path --prompt "venv: $1"
python -m venv --prompt "venv: $1" --system-site-packages $path
fi
source $path/bin/activate; bash; deactivate
}