Mercurial > hg > smartopen
annotate setup.py @ 11:ba9058605c5a
add a wiktionary handler
| author | Jeff Hammel <jhammel@mozilla.com> |
|---|---|
| date | Wed, 22 Dec 2010 17:22:04 -0800 |
| parents | a963acb1713d |
| children | bb995bdf82e2 |
| rev | line source |
|---|---|
| 0 | 1 from setuptools import setup, find_packages |
| 2 import sys, os | |
| 3 | |
| 5 | 4 try: |
| 5 description = file('README.txt').read() | |
| 6 except: | |
| 7 description = '' | |
| 8 | |
| 11 | 9 version = '0.1.5' |
| 0 | 10 |
| 11 setup(name='smartopen', | |
| 12 version=version, | |
| 13 description="open text in a browser contextually", | |
| 5 | 14 long_description=description, |
| 0 | 15 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 16 keywords='', | |
| 17 author='Jeff Hammel', | |
| 18 author_email='k0scist@gmail.com', | |
| 3 | 19 url='http://k0s.org/hg/smartopen', |
| 0 | 20 license='GPL', |
| 21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), | |
| 22 include_package_data=True, | |
| 23 zip_safe=False, | |
| 24 install_requires=[ | |
| 25 # -*- Extra requirements: -*- | |
| 26 ], | |
| 27 entry_points=""" | |
| 28 # -*- Entry points: -*- | |
| 29 [console_scripts] | |
| 30 smartopen = smartopen.smartopen:main | |
| 31 | |
| 32 [smartopen.locations] | |
| 1 | 33 URL = smartopen.handlers:URL |
| 34 GoogleMaps = smartopen.handlers:GoogleMaps | |
| 35 Wikipedia = smartopen.handlers:Wikipedia | |
| 11 | 36 Wiktionary = smartopen.handlers:Wiktionary |
| 1 | 37 Google = smartopen.handlers:Google |
| 2 | 38 Trac = smartopen.handlers:Trac |
| 7 | 39 Bugzilla = smartopen.handlers:Bugzilla |
|
8
44950f376e98
add FedEx tracking number handler
Jeff Hammel <jhammel@mozilla.com>
parents:
7
diff
changeset
|
40 FedEx = smartopen.handlers:FedEx |
|
10
a963acb1713d
add a new handler: MercurialRevision
Jeff Hammel <jhammel@mozilla.com>
parents:
8
diff
changeset
|
41 MercurialRevision = smartopen.handlers:MercurialRevision |
| 0 | 42 """, |
| 43 ) |
