summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
W. Trevor King [Sun, 16 Mar 2014 21:06:58 +0000 (14:06 -0700)]
windows-installer: ~/nano.rc syntax highlighting fixes
* 'master' of git://tremily.us/swc-setup-windows-installer.git: (2 commits)
swc-windows-installer.sh: Use '~' in ~/nano.rc includes
swc-windows-installer.sh: Rename ~/.nanorc to ~/nano.rc
W. Trevor King [Wed, 5 Mar 2014 17:46:40 +0000 (09:46 -0800)]
windows-installer/swc-windows-installer.sh: Install nano source syntax highlighters
Make writing Python source code (and a number of other languages) a
bit more exciting for the eyes and easier on the brain by coloring
strings, comments, and such.
We need to install the source tarball because the compiled zip doesn't
include the syntax highlighting scripts. To make that easier, I've
extracted out the download / hash-check functionality into a new
download(), which I use in both the old zip_install() and the new
tar_install(). If the user doesn't have an existing ~/.nanorc, we
populate it by adding 'include' options for each of the syntax files
in the Nano tarball. If they do have an existing ~/.nanorc, I assume
they know what they're doing ;).
W. Trevor King [Mon, 13 Jan 2014 18:57:13 +0000 (10:57 -0800)]
windows-installer/swc-windows-installer.sh: Convert script from Python to POSIX shell
On Mon, Jan 13, 2014 at 05:49:51AM -0800, Aron Ahmadia wrote:
> We currently have an installer that handles the issue of installing
> `nano` into msysgit for use with Git: ...
>
> This currently doesn't help for bootcamps where Python is not
> installed, so it would be handy to have a version of this that
> doesn't rely on a Python install.
POSIX shell, because an interpreted language from 1977 [1] is more
widely supported than an interpreted language from 1991 [2]. It looks
like the default msysGit install sets up the right double-click magic
too:
On Mon, Jan 13, 2014 at 10:03:24AM -0800, Ethan White wrote:
> Will a POSIX version run by simply double clicking the file?
On Mon, Jan 13, 2014 at 10:25:33AM -0800, Ethan White wrote:
> Just checked this on my Windows machine and it actually seems to
> work automatically as long as GitBash is installed and the file has
> a .sh extension. So POSIX away.
[1]: http://en.wikipedia.org/wiki/Bourne_shell
[2]: http://en.wikipedia.org/wiki/Python_language
W. Trevor King [Sat, 30 Nov 2013 19:33:39 +0000 (11:33 -0800)]
installation-test/swc-installation-test-2.py: Prefer pip to easy_install
For virtual-pypi-installer. easy_install is part of Setuptools [1],
which was dead for several years. The Distribute fork took over, but
has since been merged back into a revitalized Setuptools (since
Setuptools v0.7 [2], tagged on 2013-06-02 [3]). Pip >= v1.4 actually
requires a modern Setuptools, not Distribute [4]. Pip also improves
on easy_install [5], which does not currently support uninstalling
packages [6].
[1]: http://pythonhosted.org/setuptools/
[2]: http://pythonhosted.org/distribute/
[3]: https://bitbucket.org/pypa/setuptools/commits/tag/0.7
[4]: http://www.pip-installer.org/en/latest/installing.html#id6
[5]: http://www.pip-installer.org/en/latest/other-tools.html#easy-install
[6]: http://pythonhosted.org/setuptools/easy_install.html#uninstalling-packages
W. Trevor King [Tue, 12 Nov 2013 18:12:18 +0000 (10:12 -0800)]
windows-installer: Update to get installation bugfixes
This pulls in:
* swc-windows-installer.py: Use regular expressions to POSIX-ify paths
* swc-windows-installer.py: Only create the python-scripts dir if it doesn't exist
* swc-windows-installer.py: Split out zip_install into its own function
W. Trevor King [Thu, 31 Oct 2013 02:51:04 +0000 (19:51 -0700)]
windows-installer: Update with restored nose entry point
This pull in:
* swc-windows-installer.py: Restore nose entry point
W. Trevor King [Wed, 23 Oct 2013 19:16:35 +0000 (12:16 -0700)]
installation-test: Add a submodule with my installation test scripts
W. Trevor King [Wed, 23 Oct 2013 19:11:21 +0000 (12:11 -0700)]
windows-installer: Add a submodule with Ethan's Windows installer
W. Trevor King [Wed, 23 Oct 2013 19:07:53 +0000 (12:07 -0700)]
get-my-ip: Add a submodule with my IP detection script
W. Trevor King [Wed, 23 Oct 2013 19:06:42 +0000 (12:06 -0700)]
README: Summarize the purpose of this repository