From: Jon Speicher Date: Sat, 27 Jul 2013 15:54:51 +0000 (-0400) Subject: Add curl and wget links for IPython nose plugin X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=326fddbc7b00d31fbbaabd5177c9065ae16807b0;p=swc-testing-nose.git Add curl and wget links for IPython nose plugin --- 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,