This method is tested on Linux distribution and based on this sources:
- https://pip.pypa.io/en/stable/user_guide/#config-file (official pip docs)
- https://medium.com/@vando/creating-an-small-local-yum-and-pip-repository-f04ff08c144f (post about)
Steps to setup:
- Create somewhere on OS file with name
pip.conf
. This file may also exist in your $HOME/pip. - Add this lines to file:
[global]