annotate setup.py @ 7:d5343f681ef9

add bugzilla handler
author Jeff Hammel <k0scist@gmail.com>
date Wed, 10 Mar 2010 14:49:18 -0500
parents a03adefacb62
children 44950f376e98
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
7
d5343f681ef9 add bugzilla handler
Jeff Hammel <k0scist@gmail.com>
parents: 6
diff changeset
9 version = '0.1.3'
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
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
39 """,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
40 )