python pip - ghdrako/doc_snipets GitHub Wiki
export PIP_CONFIG_FILE=/path/to/pip.conf
per-user: $HOME/.config/pip/pip.conf
global: /etc/pip.conf
%APPDATA%\pip\pip.ini
%USERPROFILE%\pip\pip.ini
C:\ProgramData\pip\pip.conf
C:\ProgramData\pip\pip.ini
C:\Users\<username>\pip\pip.ini
C:\Users\<username>\AppData\Roaming\pip\pip.ini
Ask pip of valid location config file
pip config -v list
for Windows users pip.ini config file is not created, however can be added manually!
just create new %APPDATA%\pip\pip.ini
and content of custom repository:
[install]
find-links = https://<login>:<password>@your.repo.com/custom/url