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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
1 from setuptools import setup, find_packages
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
2 import sys, os
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
3
5
7328744920de adding README file
k0s <k0scist@gmail.com>
parents: 4
diff changeset
4 try:
7328744920de adding README file
k0s <k0scist@gmail.com>
parents: 4
diff changeset
5 description = file('README.txt').read()
7328744920de adding README file
k0s <k0scist@gmail.com>
parents: 4
diff changeset
6 except:
7328744920de adding README file
k0s <k0scist@gmail.com>
parents: 4
diff changeset
7 description = ''
7328744920de adding README file
k0s <k0scist@gmail.com>
parents: 4
diff changeset
8
8
44950f376e98 add FedEx tracking number handler
Jeff Hammel <jhammel@mozilla.com>
parents: 7
diff changeset
9 version = '0.1.4'
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
10
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
11 setup(name='smartopen',
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
12 version=version,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
13 description="open text in a browser contextually",
5
7328744920de adding README file
k0s <k0scist@gmail.com>
parents: 4
diff changeset
14 long_description=description,
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
15 classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
16 keywords='',
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
17 author='Jeff Hammel',
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
18 author_email='k0scist@gmail.com',
3
c5f19f51e1e8 correct setup.py url;
k0s <k0scist@gmail.com>
parents: 2
diff changeset
19 url='http://k0s.org/hg/smartopen',
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
20 license='GPL',
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
21 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
22 include_package_data=True,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
23 zip_safe=False,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
24 install_requires=[
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
25 # -*- Extra requirements: -*-
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
26 ],
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
27 entry_points="""
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
28 # -*- Entry points: -*-
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
29 [console_scripts]
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
30 smartopen = smartopen.smartopen:main
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
31
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
32 [smartopen.locations]
1
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
33 URL = smartopen.handlers:URL
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
34 GoogleMaps = smartopen.handlers:GoogleMaps
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
35 Wikipedia = smartopen.handlers:Wikipedia
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
36 Google = smartopen.handlers:Google
2
f084e152dd47 add Trac handler
k0s <k0scist@gmail.com>
parents: 1
diff changeset
37 Trac = smartopen.handlers:Trac
7
d5343f681ef9 add bugzilla handler
Jeff Hammel <k0scist@gmail.com>
parents: 6
diff changeset
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
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
41 """,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
42 )