3. Pysetup Configuration

Pysetup supports two configuration files: .pypirc and packaging.cfg.

3.1. Configuring indexes

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>

Table Of Contents

Previous topic

2. Pysetup Tutorial

Next topic

4. Package Servers

This Page