Reputation: 116
I wonder how can I force setup.py install command to download packages (via pip) from my server. I can get pip my server address but every dependecies are downloaded from pip server.
Maybe solution is pip.ini/pip.conf?
Tomek
Upvotes: 0
Views: 1844
Reputation: 447
Adding the following lines to setup.cfg worked for me:
[easy_install]
index_url = https://some_server/c_adas_cip_pypi_v/simple
Upvotes: 0
Reputation: 27792
From the docs, you can use the:
--use-mirrors --mirrors <url>
flag in pip
to specify which mirror to use.
From command line, you can also speicify mirrors. For example:
pip install -i http://d.pypi.python.org/simple $PACKAGE
Upvotes: 3