view genshi_view/template/setup.py_tmpl @ 21:807c8eef8098

add a handler for tempita; should rename the package (at some point) template_view
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 17 Nov 2010 11:02:33 -0800
parents 4a5b542a638c
children
line wrap: on
line source

from setuptools import setup, find_packages

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

version = "0.0"

setup(name=${repr(project)},
      version=version,
      description="${description|nothing}",
      long_description=description,
      classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
      author=${repr(author)|empty},
      author_email=${repr(author_email)|empty},
      url=${repr(url)|empty},
      license=${repr(license_name)|empty},
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          # -*- Extra requirements: -*-
         'WebOb',	
         'Paste',
         'PasteScript',
         'genshi',
         'tempita'
      ],
      entry_points="""
      # -*- Entry points: -*-
      [paste.app_factory]
      ${project} = ${project}.factory:factory
      """,
      )