view setup.py @ 10:a963acb1713d

add a new handler: MercurialRevision
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 21 Sep 2010 12:01:34 -0700
parents 44950f376e98
children ba9058605c5a
line wrap: on
line source

from setuptools import setup, find_packages
import sys, os

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

version = '0.1.4'

setup(name='smartopen',
      version=version,
      description="open text in a browser contextually",
      long_description=description,
      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
      keywords='',
      author='Jeff Hammel',
      author_email='k0scist@gmail.com',
      url='http://k0s.org/hg/smartopen',
      license='GPL',
      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          # -*- Extra requirements: -*-
      ],
      entry_points="""
      # -*- Entry points: -*-
      [console_scripts]
      smartopen = smartopen.smartopen:main

      [smartopen.locations]
      URL = smartopen.handlers:URL
      GoogleMaps = smartopen.handlers:GoogleMaps
      Wikipedia = smartopen.handlers:Wikipedia
      Google = smartopen.handlers:Google
      Trac = smartopen.handlers:Trac
      Bugzilla = smartopen.handlers:Bugzilla
      FedEx = smartopen.handlers:FedEx
      MercurialRevision = smartopen.handlers:MercurialRevision
      """,
      )