setuptools, ez_setup over http proxy

ray223 at ray223 at
Fri Oct 14 06:02:10 CEST 2005

yoda wrote:
> I've recently configured my network such that I use squid as a http
> proxy.  I'd now like to be able to use setuptools and ez_setup via this
> proxy.  Is this possible? If so, how do I do it?
> The most that the setuptools documentation says is
> (
> "....If you are behind an NTLM-based firewall that prevents Python
> programs from accessing the net directly, you may wish to first install
> and use the APS proxy server, which lets you get past such firewalls in
> the same way that your web browser(s) do....."
> ps. I'm not sure that this is the right forum for this question.  If it
> isn't feel free to point me to the right place.


This is really an urllib2 question ...

setup an environment variable "HTTP_PROXY" that points to your proxy
server, of the form:

user:password at server:port

urllib2 doco will probably have more details

Ray Smith

More information about the Python-list mailing list