view setup.py @ 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 9a37a94fed68
children f6b768417d27
line wrap: on
line source

from setuptools import find_packages, setup

try:
    description = file("README.txt").read()
except:
    description = ''

version='0.0'

setup(name='buttercup',
      version=version,
      description="paste template for creating instances of the buttercup flower website pattern",
      long_description=description,
      author='Jeff Hammel',
      author_email='k0scist@gmail.com',
      url='http://k0s.org',
      keywords='',
      license="GPL",
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests*']),
      include_package_data=True,
      install_requires = [ 'PasteScript' ],
      zip_safe=False,
      entry_points = """
      [console_scripts]
      buttercup = buttercup.checkout:main
      
      [paste.paster_create_template]
      buttercup = buttercup:buttercup
      """,
      )