swc-windows-installer.py: Split out zip_install into its own function
authorW. Trevor King <wking@tremily.us>
Tue, 12 Nov 2013 18:02:23 +0000 (10:02 -0800)
committerW. Trevor King <wking@tremily.us>
Tue, 12 Nov 2013 18:02:23 +0000 (10:02 -0800)
commitf374519f66c90132cf9dfc53a782533f0639f52d
treef7dc67637251ec5c31f71039a9449cea119c6d5b
parentd55c6bdf05db224669874a9faf2bde837898db88
swc-windows-installer.py: Split out zip_install into its own function

This makes it easy to install other packages besides nano.  I've also
added SHA1 checks to avoid installing packages that don't match the
expected hash.  This lets us trust ZipFile.extractall instead of
extracting from a hard-coded list of approved files.
swc-windows-installer.py