From 0df4094455951df01c7d00cabf6ed20b0caf4d76 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Mon, 18 Feb 2013 22:00:18 -0500 Subject: [PATCH] swc-installation-test-2.py: Add 'argparse' I use this module (which entered the stdlib in 2.7/3.2) in my get-my-ip.py script (in a different branch at the moment). Users with older Python implementations will have to install an external module (e.g. from PyPI). --- setup/swc-installation-test-2.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/swc-installation-test-2.py b/setup/swc-installation-test-2.py index 5cf01f7..b2a116b 100755 --- a/setup/swc-installation-test-2.py +++ b/setup/swc-installation-test-2.py @@ -83,6 +83,7 @@ CHECKS = [ 'python', 'ipython', # Command line tool 'IPython', # Python package + 'argparse', # Useful for utility scripts 'numpy', 'scipy', 'matplotlib', @@ -548,6 +549,7 @@ for package,name,long_name,minimum_version,and_dependencies in [ ('zmq', 'pyzmq', 'PyZMQ', (2, 1, 4), None), ('IPython', None, 'IPython Python package', CHECKER['ipython'].minimum_version, ['jinja', 'tornado', 'pyzmq']), + ('argparse', None, 'Argparse', None, None), ('numpy', None, 'NumPy', None, None), ('scipy', None, 'SciPy', None, None), ('matplotlib', None, 'Matplotlib', None, None), -- 2.26.2