#
# Cookbook:: irrigate-python
# Recipe:: pipenv
#

python_packages = %w(
  pipenv
)

python_packages.each do |name|
  execute 'install_package' do
    command "/usr/bin/pip3 install -U --break-system-packages pip && /usr/bin/pip3 install --break-system-packages #{name}"
    not_if "/usr/bin/pip3 list | grep -i #{name}"
  end
end
