new dependency location

This commit is contained in:
Timothee Besset 2013-06-09 18:16:18 +01:00
parent 444367cb8e
commit 8f6b5c4af5

View file

@ -287,10 +287,11 @@ class Config:
'gtk-bundle-2.22.1-win64-GtkRadiant.zip',
'jpeg-9-GtkRadiant.zip',
'libxml2-2.9.1-GtkRadiant.zip',
'gtkglext-1.2.0-3-win32.zip',
]:
if ( not os.path.exists( lib_archive ) ):
print( 'downloading %s' % lib_archive )
archive_web_request = urllib2.urlopen( 'https://www.dropbox.com/sh/y5rydj22e5ozpik/He0ghuwrgW/GtkRadiant-dependencies/%s' % lib_archive )
archive_web_request = urllib2.urlopen( 'http://gtkradiant.s3-website-us-east-1.amazonaws.com/%s' % lib_archive )
archive_File = open( lib_archive, 'wb' )
while True:
data = archive_web_request.read( 1048576 ) # read 1mb at a time