annotate 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
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
18
122b9dcffdaa stub url2txt
Jeff Hammel <jhammel@mozilla.com>
parents: 14
diff changeset
9 version = '0.2.1'
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
18
122b9dcffdaa stub url2txt
Jeff Hammel <jhammel@mozilla.com>
parents: 14
diff changeset
31 url2txt = smartopen.url2txt:main
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
32
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
33 [smartopen.locations]
1
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
34 URL = smartopen.handlers:URL
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
35 GoogleMaps = smartopen.handlers:GoogleMaps
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
36 Wikipedia = smartopen.handlers:Wikipedia
11
ba9058605c5a add a wiktionary handler
Jeff Hammel <jhammel@mozilla.com>
parents: 10
diff changeset
37 Wiktionary = smartopen.handlers:Wiktionary
1
10fc4904c10f now can pass data
k0s <k0scist@gmail.com>
parents: 0
diff changeset
38 Google = smartopen.handlers:Google
2
f084e152dd47 add Trac handler
k0s <k0scist@gmail.com>
parents: 1
diff changeset
39 Trac = smartopen.handlers:Trac
7
d5343f681ef9 add bugzilla handler
Jeff Hammel <k0scist@gmail.com>
parents: 6
diff changeset
40 Bugzilla = smartopen.handlers:Bugzilla
8
44950f376e98 add FedEx tracking number handler
Jeff Hammel <jhammel@mozilla.com>
parents: 7
diff changeset
41 FedEx = smartopen.handlers:FedEx
10
a963acb1713d add a new handler: MercurialRevision
Jeff Hammel <jhammel@mozilla.com>
parents: 8
diff changeset
42 MercurialRevision = smartopen.handlers:MercurialRevision
14
a62fbff067f8 start bringing this whole thing up to speed
Jeff Hammel <jhammel@mozilla.com>
parents: 12
diff changeset
43 UbuntuPackage = smartopen.handlers:UbuntuPackage
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
44 """,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
45 )