[Distutils] install_requires option to force pypi url or a better approach?

Aljoša Mohorović aljosa.mohorovic at gmail.com
Fri Dec 18 18:59:45 CET 2009


2009/12/18 Tarek Ziadé <ziade.tarek at gmail.com>:
> Have you tried --extra-index-url ? This allows you to add extra indexes

i can define pypi.example.com in requirements.txt or via command line
options for pip but i'm trying to define it in setup.py.
is it unreasonable to expect option in setup.py to define
multiple/alternative pypi locations or should i change something in my
workflow?
telling pip where to look for each package requirement (assuming it's
in a different pypi location) makes me think that i shouldn't define
requirements in setup.py and simply use pip/requirements.txt to manage
dependencies.

maybe i'm missing something?

Aljosa


More information about the Distutils-SIG mailing list