We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aca9a19 + 7458f69 commit 4312b80Copy full SHA for 4312b80
files/default/pip-20.3.4-py2.py3-none-any.whl
1.45 MB
recipes/python.rb
@@ -14,11 +14,14 @@
14
virtualenv_version false
15
end
16
17
-remote_file '/tmp/get-pip.py' do
18
- source 'https://bootstrap.pypa.io/pip/2.7/get-pip.py'
19
- action :create
+cookbook_file '/tmp/pip-20.3.4-py2.py3-none-any.whl' do
+ source 'pip-20.3.4-py2.py3-none-any.whl'
+ owner 'root'
20
+ group 'root'
21
+ mode '0444'
22
+ action :create
23
24
-python_execute '/tmp/get-pip.py --trusted-host=files.pythonhosted.org --trusted-host=pypi.org' do
25
+python_execute '/tmp/pip-20.3.4-py2.py3-none-any.whl/pip install --no-index pip-20.3.4-py2.py3-none-any.whl' do
26
python '2'
27
0 commit comments