annotate setup.py @ 5:7328744920de

adding README file
author k0s <k0scist@gmail.com>
date Wed, 03 Mar 2010 01:07:17 -0500
parents 01015b36290a
children a03adefacb62
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
4
01015b36290a look for home configuration file if it exists
k0s <k0scist@gmail.com>
parents: 3
diff changeset
9 version = '0.1.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
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
0
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
38 """,
d6fa501af82f initial commit of smartopen
k0s <k0scist@gmail.com>
parents:
diff changeset
39 )