X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..a406b373ee9a85b2f79e187b582379326b7b70d2:/cookbooks/python/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/python/recipes/default.rb b/cookbooks/python/recipes/default.rb index 6a1925e01..00f763bac 100644 --- a/cookbooks/python/recipes/default.rb +++ b/cookbooks/python/recipes/default.rb @@ -1,8 +1,8 @@ # -# Cookbook Name:: python +# Cookbook:: python # Recipe:: default # -# Copyright 2017, OpenStreetMap Foundation +# Copyright:: 2017, OpenStreetMap Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,8 +17,12 @@ # limitations under the License. # -package "python" -package "python-pip" +if node[:lsb][:release].to_f < 20.04 + package "python" + package "python-pip" +end package "python3" package "python3-pip" + +package "virtualenv"