Commit 0e8b50d1 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Switch pydevenv* to venv (Python >=3)

parent 88ece615
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ _venv_make_func() {

_venv_enable() {
	local venv=.venv${1}-${2} python=$3
	[[ -d "$venv" ]] || virtualenv "$venv" -p${3}
	[[ -d "$venv" ]] || $python -m venv "$venv"
	[[ -v VIRTUAL_ENV ]] && has deactivate is function && deactivate
	source "$venv/bin/activate"
}