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

Commit 2580353

Browse files
author
Eugene Alekseev
committed
Do install virtualenv via apt on debian and ubuntu.
1 parent a18893e commit 2580353

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

recipes/virtualenv.rb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,14 @@
2020

2121
include_recipe "python::pip"
2222

23-
python_pip "virtualenv" do
24-
action :upgrade
25-
version node['python']['virtualenv_version']
23+
if platform_family?("debian")
24+
package "python-virtualenv" do
25+
action :upgrade
26+
version node['python']['virtualenv_version']
27+
end
28+
else
29+
python_pip "virtualenv" do
30+
action :upgrade
31+
version node['python']['virtualenv_version']
32+
end
2633
end

0 commit comments

Comments
 (0)