[Distutils] Is it possible to stop easy_install from checking pypi

Tarek Ziadé ziade.tarek at gmail.com
Wed Aug 13 18:31:51 CEST 2008

On Wed, Aug 13, 2008 at 5:31 PM, Phillip J. Eby <pje at telecommunity.com>wrote:

> At 03:39 PM 8/13/2008 +0200, Tarek Ziadé wrote:
>> On Wed, Aug 13, 2008 at 3:34 PM, Fadhley Salim <<mailto:
>> fadhley.salim at uk.calyon.com>fadhley.salim at 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.
>> Hello
>> You can use the --allow-hosts option to filter out authorized sites
>> see :
>> <
>> http://peak.telecommunity.com/DevCenter/EasyInstall#restricting-downloads-with-allow-hosts
>> >
>> http://peak.telecommunity.com/DevCenter/EasyInstall#restricting-downloads-with-allow-hosts
>> Although, I think you might encouter a bug with links starting with
>> file://
> The next setuptools release will fix that bug.

Great thanks

> 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,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080813/4401f06f/attachment.htm>

More information about the Distutils-SIG mailing list