On Wed, Aug 13, 2008 at 5:31 PM, Phillip J. Eby email@example.com:
At 03:39 PM 8/13/2008 +0200, Tarek Ziadé wrote:
On Wed, Aug 13, 2008 at 3:34 PM, Fadhley Salim <mailto: firstname.lastname@example.org@uk.calyon.com> wrote: If the packages cannot be found in the URLs that I specify in find-links easy_install always checks pypi.
Is there some way to prevent this? I'd like to ensure that pypi is never checked.
You can use the --allow-hosts option to filter out authorized sites
Although, I think you might encouter a bug with links starting with file://
The next setuptools release will fix that bug.
But really, there's very little reason to use file:// links, anyway. The only thing they do differently from plain paths is that if you use a file:// url to point to an HTML file, easy_install will scan it for links. (It doesn't do that for regular filenames.) So, unless you are using HTML files for your local index, there's no need to use file:// urls with --find-links.
Yes that was it, a local html file built by a third party script,