[Distutils] install_requires option to force pypi url or a better approach?
aljosa.mohorovic at gmail.com
Fri Dec 18 19:23:15 CET 2009
Makes sense, I'll try to adapt. Thanks for info
On Dec 18, 2009 7:14 PM, "Tarek Ziadé" <ziade.tarek at gmail.com> wrote:
2009/12/18 Aljoša Mohorović <aljosa.mohorovic at gmail.com>:
> 2009/12/18 Tarek Ziadé <ziade.tarek at gmail.com>: >> Have you tried
--extra-index-url ? This allows ...
Usually a setup.py script just provides the options for the install
command to be run,
not extra options for a package installer like Pip.
IOW, defining where the package installer should look for
distributions should be configured
at its level, not at the distribution level, because one distribution
may be located in several
PyPI-like servers and cannot know in advance which installer will be
used for it to be installed,
and on which server it will be hosted at
So for Pip, imho you should list all your pypi servers using
--extra-index-url and leave the
distributions' setup.py alone.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Distutils-SIG