From: W. Trevor King Date: Sun, 27 Jan 2013 19:37:09 +0000 (-0500) Subject: swc-installation-test-2.py: Add IPython notebook dependencies X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3021b405619cc681dc4755124c17f10adf0a3f9c;p=swc-workshop.git swc-installation-test-2.py: Add IPython notebook dependencies You can get a successful IPython import even if you haven't installed the dependencies you need for viewing notebooks. This adds explicit dependencies based on the current listings in IPython's setup.py. --- diff --git a/setup/swc-installation-test-2.py b/setup/swc-installation-test-2.py index 35e3d5c..9c87e0a 100755 --- a/setup/swc-installation-test-2.py +++ b/setup/swc-installation-test-2.py @@ -485,8 +485,11 @@ class PythonPackageDependency (Dependency): for package,name,long_name,minimum_version,and_dependencies in [ ('nose', None, 'Nose Python package', CHECKER['nosetests'].minimum_version, None), + ('jinja2', 'jinja', 'Jinja', (2, 6), None), + ('tornado', None, 'Tornado', (2, 0), None), + ('zmq', 'pyzmq', 'PyZMQ', (2, 1, 4), None), ('IPython', None, 'IPython Python package', - CHECKER['ipython'].minimum_version, None), + CHECKER['ipython'].minimum_version, ['jinja', 'tornado', 'pyzmq']), ('numpy', None, 'NumPy', None, None), ('scipy', None, 'SciPy', None, None), ('matplotlib', None, 'Matplotlib', None, None),