swc-windows-installer.py: Rework install paths to use ~/.swc
authorW. Trevor King <wking@tremily.us>
Mon, 21 Oct 2013 16:41:49 +0000 (09:41 -0700)
committerW. Trevor King <wking@tremily.us>
Mon, 21 Oct 2013 17:17:51 +0000 (10:17 -0700)
commit806fedff21660e67f1a392317aee218233bf71f5
tree5fa76a1150727a6cb59db4a71a885b9ee446123a
parent94caeadb62fd7a22014a9ef44800aa2c839aa1f3
swc-windows-installer.py: Rework install paths to use ~/.swc

Instead of cluttering the user's home directory with multiple
SWC-installed directories, reduce clutter and improve namespacing by
dumping everything inside ~/.swc.  Think of it as a SWC-specific
~/.local.  We avoid actually using ~/.local because users might
already be using that for other purposes.

Use os.makedirs to create the nano install directory if it does not
already exist, because ZipFile.extract uses os.mkdir internally, and
mkdir will not recursively create directories.
setup/swc-windows-installer.py