changeset 12:d51923b276ef

add a command line entry point for maintainer script
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 08 Nov 2010 08:13:21 -0800
parents 8a54d538646a
children ac29f67b4a45
files setup.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Mon Nov 08 08:08:49 2010 -0800
+++ b/setup.py	Mon Nov 08 08:13:21 2010 -0800
@@ -21,6 +21,9 @@
       install_requires = [ 'PasteScript' ],
       zip_safe=False,
       entry_points = """
+      [console_scripts]
+      buttercup = buttercup.checkout:main
+      
       [paste.paster_create_template]
       buttercup = buttercup:buttercup
       """,