Skip to content
This repository was archived by the owner on Oct 2, 2018. It is now read-only.

Commit f0a37e1

Browse files
committed
allow setting of virtualenv version
Closes #74
1 parent 213c37e commit f0a37e1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

attributes/default.rb

+1
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@
4242
default['python']['pip_location'] = "#{node['python']['prefix_dir']}/bin/pip"
4343
default['python']['virtualenv_location'] = "#{node['python']['prefix_dir']}/bin/virtualenv"
4444
default['python']['setuptools_version'] = nil # defaults to latest
45+
default['python']['virtualenv_version'] = nil

recipes/virtualenv.rb

+1
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222

2323
python_pip "virtualenv" do
2424
action :upgrade
25+
version node['python']['virtualenv_version']
2526
end

0 commit comments

Comments
 (0)