On 05/09/2011 02:09 PM, Mathieu Leduc-Hamel wrote: > yes but with find-links i think you are forced to defined a specific > link which point directly to the package, and the index option is > where you can specify another pypi index. > > am i right ?
Depends what you mean by "point directly to the package" - you give find-links a URL that contains HTML links to package tarballs, named appropriately (or with #egg= suffixes) to be recognizable as project+version. So it's pretty easy to use a webserver directory with directory indexes on and dump whatever sdists you want in there. But you're right that find-links isn't quite the same as using an alternative index, or multiple indexes, just in that the URL structures used for project/version lookups on a PyPI-compatible index have an inherent nesting. This only really matters if you're dealing with so many packages that dumping the sdists in a single directory becomes unwieldy. FWIW, pip supports both --find-links and multiple indexes (via --extra-index-url). Carl _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
