Mercurial > hg > smartopen
annotate 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 |
| 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 | |
|
8
44950f376e98
add FedEx tracking number handler
Jeff Hammel <jhammel@mozilla.com>
parents:
7
diff
changeset
|
9 version = '0.1.4' |
| 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 | |
| 36 Google = smartopen.handlers:Google | |
| 2 | 37 Trac = smartopen.handlers:Trac |
| 7 | 38 Bugzilla = smartopen.handlers:Bugzilla |
|
8
44950f376e98
add FedEx tracking number handler
Jeff Hammel <jhammel@mozilla.com>
parents:
7
diff
changeset
|
39 FedEx = smartopen.handlers:FedEx |
|
10
a963acb1713d
add a new handler: MercurialRevision
Jeff Hammel <jhammel@mozilla.com>
parents:
8
diff
changeset
|
40 MercurialRevision = smartopen.handlers:MercurialRevision |
| 0 | 41 """, |
| 42 ) |
