From 326fddbc7b00d31fbbaabd5177c9065ae16807b0 Mon Sep 17 00:00:00 2001 From: Jon Speicher Date: Sat, 27 Jul 2013 11:54:51 -0400 Subject: [PATCH] Add curl and wget links for IPython nose plugin --- .../sw_engineering/SoftwareEngineering.ipynb | 58 +++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/python/sw_engineering/SoftwareEngineering.ipynb b/python/sw_engineering/SoftwareEngineering.ipynb index a7b3f9f..74d261c 100644 --- a/python/sw_engineering/SoftwareEngineering.ipynb +++ b/python/sw_engineering/SoftwareEngineering.ipynb @@ -547,6 +547,64 @@ "There is a plugin for the IPython notebook that runs `nose` and produces colored cells and tracebacks within the notebooks themselves. The plugin is included in the directory containing this notebook." ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "***\n", + "**Aside: Getting the plugin**\n", + "\n", + "If you don't have a clone of the git repo for this workshop, grab the nose plugin now." + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "**OS X:**" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "!curl -OLk https://github.com/swcarpentry/boot-camps/raw/2013-07-cmu/python/sw_engineering/ipython_nose.py" + ], + "language": "python", + "metadata": {}, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "**Linux/Windows:**" + ] + }, + { + "cell_type": "code", + "collapsed": false, + "input": [ + "!wget https://github.com/swcarpentry/boot-camps/raw/2013-07-cmu/python/sw_engineering/ipython_nose.py" + ], + "language": "python", + "metadata": {}, + "outputs": [] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "***" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Let's run the plugin." + ] + }, { "cell_type": "code", "collapsed": false, -- 2.26.2