Source

pyv8 / build-win.py

Full commit
1
2
3
4
5
6
7
8
9
import io
import zipfile
import urllib2

boost_src = urllib2.urlopen('http://downloads.sourceforge.net/project/boost/boost/1.48.0/boost_1_48_0.zip')
# cache the object in memory so ZipFile can seek
boost_buf = io.BytesIO(boost_src.read())
boost_zip = zipfile.ZipFile(boost_buf)
boost_zip.extract_all()