view setup.py @ 18:122b9dcffdaa default tip

stub url2txt
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 03 Aug 2013 23:17:04 -0700
parents a62fbff067f8
children
line wrap: on
line source

from setuptools import setup, find_packages
import sys, os

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

version = '0.2.1'

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
      url2txt = smartopen.url2txt:main

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