annotate setup.py @ 17:a815b73c8e19

note dialog, the prog
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 01 May 2013 22:18:51 -0700
parents a62fbff067f8
children 122b9dcffdaa
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:
14
a62fbff067f8 start bringing this whole thing up to speed
Jeff Hammel <jhammel@mozilla.com>
parents: 12
diff changeset
5 description = file(os.path.join(os.path.dirname(__file__), 'README.txt')).read()
5
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
14
a62fbff067f8 start bringing this whole thing up to speed
Jeff Hammel <jhammel@mozilla.com>
parents: 12
diff changeset
9 version = '0.2'
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
11
ba9058605c5a add a wiktionary handler
Jeff Hammel <jhammel@mozilla.com>
parents: 10
diff changeset
36 Wiktionary = smartopen.handlers:Wiktionary
1
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
37 Google = smartopen.handlers:Google
2
f084e152dd47 add Trac handler
k0s <k0scist@gmail.com>
parents: 1
diff changeset
38 Trac = smartopen.handlers:Trac
7
d5343f681ef9 add bugzilla handler
Jeff Hammel <k0scist@gmail.com>
parents: 6
diff changeset
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
14
a62fbff067f8 start bringing this whole thing up to speed
Jeff Hammel <jhammel@mozilla.com>
parents: 12
diff changeset
42 UbuntuPackage = smartopen.handlers:UbuntuPackage
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
43 """,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
44 )