[Distutils] Uploading an egg behind a proxy
David Cournapeau
david at ar.media.kyoto-u.ac.jp
Sun Jan 27 06:06:40 CET 2008
James William Pye wrote:
> On Sat, Jan 26, 2008 at 08:52:09PM +0900, David Cournapeau wrote:
>
>> Yes, sure :) This and ssh tunneling work, but that's not ideal.
>>
>
> Have you tried the ``http_proxy`` environment variable?
>
> (Didn't test, so I dunno. Just poked around the urllib source a
> bit and found a blurb about <scheme>_proxy environment variables)
>
>
>
That's not the problem (and I have the variable defined to a correct
value). The problem is that most of the time, the proxy is used to get a
connection, but not to translate the url into an IP. In my case, this is
needed. For example, ping google.com does not work on my machine: not
because of ICMP blocking, but because google.com is not resolved to an
IP. Only the proxy can do that
cheers,
David
More information about the Distutils-SIG
mailing list