swc-setup.git
9 years agoinstallation-test/swc-installation-test-2.py: Bump minimum IPython version to 1.0 master
W. Trevor King [Sat, 18 Oct 2014 03:30:41 +0000 (20:30 -0700)]
installation-test/swc-installation-test-2.py: Bump minimum IPython version to 1.0

This pulls in:
cbfbc0f swc-installation-test-2.py: Bump minimum IPython version to 1.0

9 years agowindows-installer: Bump to v0.1
W. Trevor King [Sat, 18 Oct 2014 03:22:46 +0000 (20:22 -0700)]
windows-installer: Bump to v0.1

10682b9 is the last commit in the python branch that landed in v0.1.
Significant changes:

* Convert back from POSIX to Python [1]
* Quote $PATH export to account for spaces
* Install nano source syntax highlighters
* Install the sqlite3 shell
* Look for an R bin directory and add it to the PATH
* Add a README and COPYING metadata
* Add --verbose and --version options

All the commits pulled in:
10682b9 swc-windows-installer.py: Add --version and start with 0.1
23d9af6 swc-windows-installer.py: Search ProgramW6432 and ProgramFiles(x86)
710dc4a swc-windows-installer.py: Add missing space to 'c:\ProgramFiles'
b59c540 swc-windows-installer.py: Set default logging level to INFO
0b6b63e Fix 'Add' -> 'Adds' to match 'The script' lead-in
0205eb6 README.md: Copy the docstring into a README
99725a4 swc-windows-installer.py: Fix 'swc_windows_installer.py' -> hyphens
69448a8 swc-windows-installer.py: Change '~/nano.rc' to 'a ~/nano.rc'
d5fc791 swc-windows-installer.py: Canonical SQLite capitalization
7836f06 COPYING: Add the full text of the MIT license
5d91596 swc-windows-installer.py: Add logging
73efde0 swc-windows-installer.py: Link to msysGit releases on GitHub
42b7b62 swc-windows-installer.py: Standardize on 'msysGit' capitalization
58b7183 swc-windows-installer.py: Look for an R bin directory
7f6cd12 Add indication that the Windows installer is running
79b3dae swc-windows-installer.py: Install the sqlite3 shell
4fe28c0 swc-windows-installer.py: Generalize msysGit download link
21a58ad swc-windows-installer.py: Force UNIX-style \n line endings for ~/nano.rc
ee9a596 swc-windows-installer.py: Use POSIX paths for ~/nano.rc
a4536c4 swc-windows-installer.py: Use '~' in ~/nano.rc includes
3ee7b77 swc-windows-installer.py: Rename ~/.nanorc to ~/nano.rc
30d776f swc-windows-installer.py: Install nano source syntax highlighters
ed160e5 swc-windows-installer.py: Quote $PATH export to account for spaces.

[1]: https://github.com/swcarpentry/bc/issues/424

10 years agoinstallation-test/README.md: Convert 'boot camp' -> 'workshop'
W. Trevor King [Mon, 21 Apr 2014 21:28:13 +0000 (14:28 -0700)]
installation-test/README.md: Convert 'boot camp' -> 'workshop'

3f293fc README.md: Convert 'boot camp' -> 'workshop'

10 years agowindows-installer: Install the sqlite3 shell and tweak the docs
W. Trevor King [Mon, 21 Apr 2014 21:26:05 +0000 (14:26 -0700)]
windows-installer: Install the sqlite3 shell and tweak the docs

488c87c swc-windows-installer.sh: Install the sqlite3 shell
1ed39ee swc-windows-installer.sh: Generalize msysGit download link

10 years agowindows-installer: ~/nano.rc syntax highlighting fixes
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

10 years agowindows-installer/swc-windows-installer.sh: Install nano source syntax highlighters
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 ;).

10 years agowindows-installer/swc-windows-installer.sh: Convert script from Python to POSIX shell
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

10 years agoinstallation-test/swc-installation-test-2.py: Prefer pip to easy_install
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

10 years agowindows-installer: Update to get installation bugfixes
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

10 years agowindows-installer: Update with restored nose entry point
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

10 years agoinstallation-test: Add a submodule with my installation test scripts
W. Trevor King [Wed, 23 Oct 2013 19:16:35 +0000 (12:16 -0700)]
installation-test: Add a submodule with my installation test scripts

10 years agowindows-installer: Add a submodule with Ethan's Windows installer
W. Trevor King [Wed, 23 Oct 2013 19:11:21 +0000 (12:11 -0700)]
windows-installer: Add a submodule with Ethan's Windows installer

10 years agoget-my-ip: Add a submodule with my IP detection script
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

10 years agoREADME: Summarize the purpose of this repository
W. Trevor King [Wed, 23 Oct 2013 19:06:42 +0000 (12:06 -0700)]
README: Summarize the purpose of this repository