Commits

Chris Mutel committed 7fb463d

Specify requests version because API has changed (again...)

Comments (0)

Files changed (3)

 def download_file(filename):
     dirpath = config.request_dir("downloads")
     filepath = os.path.join(dirpath, filename)
-    download = requests.get(DOWNLOAD_URL + filename, prefetch=False).raw
+    download = requests.get(DOWNLOAD_URL + filename, stream=True).raw
     chunk = 128 * 1024
     with open(filepath, "wb") as f:
         while True:
 nose
 progressbar
 voluptuous
-bw-stats-toolkit
+bw-stats-toolkit>=0.7
+requests>=1.1.0
+brightway2>=0.9.0-alpha2
 
 setup(
   name='bw2data',
-  version="0.9.0-alpha",
+  version="0.9.0-alpha2",
   packages=packages,
   author="Chris Mutel",
   author_email="cmutel@gmail.com",
   license=open('LICENSE.txt').read(),
-  install_requires=["voluptuous", "progressbar", "numpy", "lxml", "scipy", "requests", "brightway2"],
+  install_requires=["voluptuous", "progressbar", "numpy", "lxml", "scipy", "requests>=1.1.0", "brightway2"],
   url="https://bitbucket.org/cmutel/brightway2-data",
   long_description=open('README.rst').read(),
   classifiers=[