From 2870c12a174e3f2c02248e9bb329a562d21c62df Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 20 Mar 2013 18:13:44 -0400 Subject: [PATCH] swc-windows-installer.py: Separate requests import from stdlib imports Python-requests [1] is not part of the stdlib. [1]: http://docs.python-requests.org/en/latest/ --- setup/swc-windows-installer.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/swc-windows-installer.py b/setup/swc-windows-installer.py index 638f228..fa4d09e 100755 --- a/setup/swc-windows-installer.py +++ b/setup/swc-windows-installer.py @@ -19,11 +19,13 @@ To use: You should be able to simply double click the file in Windows """ -import requests import shutil import zipfile import os +import requests + + def install_nano(python_scripts_directory): """Download and install the nano text editor""" url = "http://www.nano-editor.org/dist/v2.2/NT/nano-2.2.6.zip" -- 2.26.2