0

Currently in tox, we can add a default index url for python packages. This is done like this:

indexserver =
      default = <index url I want to add> 

My query: Can we add multiple index urls for searching python packages in tox ?

Varun Vijaykumar
  • 355
  • 6
  • 18
  • `indexserver` was [deprectaed](https://tox.wiki/en/legacy/config.html#conf-indexserver) in tox 3 and removed in tox 4. Set `PIP_INDEX_URL` environment variable instead. For extra indices set `PIP_EXTRA_INDEX_URL` or set `install_command`. See https://stackoverflow.com/a/65324808/7976758 , https://stackoverflow.com/search?q=%5Btox%5D+multiple+index – phd Jul 12 '23 at 13:50
  • @phd Please create an answer so we can upvote :-) – Jürgen Gmach Jul 12 '23 at 14:10
  • @JürgenGmach I copied everything from existing answers (except for deprecated `indexserver` — I wrote about it before I searched SO, but it also mentioned in comments) so the question could be just closed as a duplicate. – phd Jul 12 '23 at 15:01

0 Answers0