Pysetup supports two configuration files: .pypirc and packaging.cfg.
You can configure additional indexes in .pypirc to be used for index-related operations. By default, all configured index-servers and package-servers will be used in an additive fashion. To limit operations to specific indexes, use the --index and --package-server options:
$ pysetup install --index pypi --package-server django some.project
Adding indexes to .pypirc:
[packaging]
index-servers =
pypi
other
package-servers =
django
[pypi]
repository: <repository-url>
username: <username>
password: <password>
[other]
repository: <repository-url>
username: <username>
password: <password>
[django]
repository: <repository-url>
username: <username>
password: <password>