view setup.py @ 4:2b44d878d46f

add entry point to setup.py
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 13 Jun 2011 17:56:17 -0700
parents ec815b7cb142
children 7c2a3016da4e
line wrap: on
line source

from setuptools import setup, find_packages
import os

version = '0.1.1'

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

# dependencies
dependencies = ['webob']
try:
  import json
except ImportError:
  dependencies.append('simplejson')

setup(name='wsgintegrate',
      version=version,
      description='WSGI integration layer',
      long_description=description,
      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      keywords='',
      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=dependencies,
      entry_points="""
      wsgintegrate = wsgintegrate.main:main
      """,
      )