view setup.py @ 3:c2bb8f873aee

make a useful(?) example factory
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 05 May 2010 22:05:16 -0700
parents 1c5cbbde4299
children 57ca873ed9bf
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='TagInTheMiddle',
      version=version,
      description="tagging WSGI middleware with LXML",
      long_description=description,
      classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
      author='Jeff Hammel',
      author_email='jhammel@mozilla.com',
      url='http://k0s.org/',
      license="GPL",
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          # -*- Extra requirements: -*-
         'WebOb',
         'Paste',
         'PasteScript',
         'genshi',
         'lxmlmiddleware'
      ],
      entry_points="""
      # -*- Entry points: -*-
      [paste.app_factory]
      TagInTheMiddle = TagInTheMiddle.factory:factory
      """,
      )