Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0a37e1

Browse files
committed
allow setting of virtualenv version
Closes poise#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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)