poise / python

THIS COOKBOOK IS DEPRECATED – Chef cookbook to install Python and related tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot use get-pip.py without an internet connection

Jamstah opened this issue · comments

I need to configure servers on a network that does not have access to PyPi.

To install packages, I am fine with:
python_pip do
options "--no-index --find-links "
end

It works will and is happy to find dependencies from the cache. However, there is currently no way to pass options to get-pip.py, so I have to run it manually. It works from the command line as:
"python get-pip.py --no-index --find-links "

Can we have a way to pass options to get-pip.py?

https://github.com/poise/poise-python now handles this by allowing you to pass a URL to an internal copy of get-pip.py.