changeset 61:82a18c9337c3

more stubbing
author Jeff Hammel <k0scist@gmail.com>
date Thu, 22 Jan 2015 13:41:19 -0800
parents e3c3ee7b5ccf
children 18c0820bfe12
files numerics/manipulate.py setup.py
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/numerics/manipulate.py	Thu Jan 22 13:33:56 2015 -0800
+++ b/numerics/manipulate.py	Thu Jan 22 13:41:19 2015 -0800
@@ -40,6 +40,10 @@
 
     if options.list_entries:
         raise NotImplementedError('TODO') # -> record TODO items
+    else:
+        # print help
+        print (parser.help())
+        parser.exit()
 
 if __name__ == '__main__':
     main()
--- a/setup.py	Thu Jan 22 13:33:56 2015 -0800
+++ b/setup.py	Thu Jan 22 13:41:19 2015 -0800
@@ -17,6 +17,7 @@
     kw['entry_points'] = """
     [console_scripts]
     interpolate = numerics.interpolation:main
+    manipulate = numerics.manipulate:main
     plot = numerics.plot:main
     read-csv = numerics.read:main
     smooth = numerics.smooth:main
@@ -26,7 +27,6 @@
 # TODO:
 #   cleanse = numerics.clean:main
 #   fold = numerics.fold:main
-#   manipulate = numerics.manipulate:main
     kw['install_requires'] = dependencies
 except ImportError:
     from distutils.core import setup