view setup.py @ 1:12ac99c240ca default tip

* add documentation * add 1..10 autostep feature * bump version
author Jeff Hammel <k0scist@gmail.com>
date Wed, 10 Mar 2010 17:48:11 -0500
parents 1eea6356d2e5
children
line wrap: on
line source

from setuptools import setup, find_packages
import os

# get the description from the README
try:
    filename = os.path.join(os.path.dirname(__file__), 'README.txt')
    description = file(filename).read()
except:
    description = ''

version = "0.1.1"

setup(name='webcalc',
      version=version,
      description="web-based calculator",
      long_description=description,
      classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
      author='Jeff Hammel',
      author_email='k0scist@gmail.com',
      url='',
      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',
         'simplejson'
      ],
      entry_points="""
      # -*- Entry points: -*-
      [paste.app_factory]
      main = webcalc.factory:factory

      [webcalc.formatters]
      text/plain = webcalc.formatters:CSVformat
      application/json = webcalc.formatters:JSONformat
      """,
      )