From 3021b405619cc681dc4755124c17f10adf0a3f9c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 27 Jan 2013 14:37:09 -0500 Subject: [PATCH] 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. --- setup/swc-installation-test-2.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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), -- 2.26.2