X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..a6a40aaf96f0620bf8f4a6e9f01b44ff25d8307b:/cookbooks/python/recipes/default.rb 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"