From: W. Trevor King Date: Tue, 19 Feb 2013 03:00:18 +0000 (-0500) Subject: swc-installation-test-2.py: Add 'argparse' X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0df4094455951df01c7d00cabf6ed20b0caf4d76;p=swc-boot-camp.git 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). --- 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),