projects
/
swc-setup-windows-installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e51492
)
swc-windows-installer.py: Separate requests import from stdlib imports
author
W. Trevor King
<wking@tremily.us>
Wed, 20 Mar 2013 22:13:44 +0000
(18:13 -0400)
committer
W. Trevor King
<wking@tremily.us>
Mon, 21 Oct 2013 03:55:18 +0000
(20:55 -0700)
Python-requests [1] is not part of the stdlib.
[1]: http://docs.python-requests.org/en/latest/
setup/swc-windows-installer.py
patch
|
blob
|
history
diff --git
a/setup/swc-windows-installer.py
b/setup/swc-windows-installer.py
index 638f22887596a9eebf4dd7ada02c790615eb17aa..fa4d09e9692bf787ec302f95b687ffe41aae41b2 100755
(executable)
--- 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"