﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
415	download_setuptools fails with authenticating proxy	skip_spm@…	Adrian Holovaty	"The download_setuptools uses module urllib2 to get the setuptools module.  It isn't properly setup to handle an autheticating proxy.  I'm not sure how to include/enable this support for your shipping product, but here is the code that I injected into download_setuptools to get it to work through my company's authenticating proxy server (at line 102 insert the following):

{{{
username = ""myusername""
password = ""mypassword""
authinfo = urllib2.HTTPBasicAuthHandler()
authinfo.add_password('', '', username, password)
proxy_support = urllib2.ProxyHandler({""http"" : ""http://%s:%s@proxy.mycompany.com:8080"" % (username, password)})
opener = urllib2.build_opener(proxy_support, authinfo, urllib2.HTTPHandler)
}}}


Edit username and password to the appropriate values.

I hope this helps in some small way.  I haven't tried django yet (just finished getting the install to work :).  I'll try django out soon and hope that it provides the solution that I'm currently searching for.

Good luck,[[BR]]
Brett Hunt"	defect	closed	Tools		minor	invalid	proxy, authenticating, download		Unreviewed	0	0	0	0	0	0
