On Tue, May 4, 2010 at 10:14 PM, Nils Bruin <nbr...@sfu.ca> wrote:
> On May 4, 5:08 pm, Ondrej Certik <ond...@certik.cz> wrote:
>> I was bitten by this too in FEMhub. setuptools simply sometimes want
>> to download things from the net. Is there some way to disable it? I
>> want the build to just fail, if I accidentally switch the order of
>> packages. Otherwise it's easy for me to miss it.
>
> It looks like there is a configuration option "allow-hosts" which sets
> glob patterns for allowed hosts to access:
>
> http://peak.telecommunity.com/DevCenter/EasyInstall#restricting-downloads-with-allow-hosts

Nice! This should do it:

--allow-hosts=None

So I think we should use it in all our spkg scripts, that install some
stuff using setuptools.

Ondrej

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to