From d44f4fa38cc9f9ff5ad8670aa125561acdcf4342 Mon Sep 17 00:00:00 2001 From: nirgin Date: Sun, 24 Jan 2016 17:13:38 +0200 Subject: [PATCH 1/2] Fixed typo in path name for virtualenvs --- manifests/config.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/config.pp b/manifests/config.pp index 787bd31..2fe8128 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -3,7 +3,7 @@ class python::config { include boxen::config - $venv_home = "${boxen::config::datadir}/virturalenvs" + $venv_home = "${boxen::config::datadir}/virtualenvs" # The "global" scope for python modules in boxen $global_venv = $homebrew::config::installdir } From 5c628987e077528db33e20ba9cf77e9c03191571 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 17 Apr 2016 17:00:13 +0300 Subject: [PATCH 2/2] Fix virtualenvwrapper.sh path to updated homebrew path --- templates/python_venvwrapper.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/python_venvwrapper.sh.erb b/templates/python_venvwrapper.sh.erb index 44735b2..852e49f 100644 --- a/templates/python_venvwrapper.sh.erb +++ b/templates/python_venvwrapper.sh.erb @@ -1,2 +1,2 @@ -source $BOXEN_HOME/homebrew/bin/virtualenvwrapper.sh +source /usr/local/bin/virtualenvwrapper.sh export WORKON_HOME=<%= scope.lookupvar "python::config::venv_home" %>