annotate setup.py @ 1:12ac99c240ca default tip

* add documentation * add 1..10 autostep feature * bump version
author Jeff Hammel <k0scist@gmail.com>
date Wed, 10 Mar 2010 17:48:11 -0500
parents 1eea6356d2e5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
1 from setuptools import setup, find_packages
1
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
2 import os
0
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
3
1
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
4 # get the description from the README
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
5 try:
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
6 filename = os.path.join(os.path.dirname(__file__), 'README.txt')
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
7 description = file(filename).read()
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
8 except:
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
9 description = ''
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
10
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
11 version = "0.1.1"
0
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
12
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
13 setup(name='webcalc',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
14 version=version,
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
15 description="web-based calculator",
1
12ac99c240ca * add documentation
Jeff Hammel <k0scist@gmail.com>
parents: 0
diff changeset
16 long_description=description,
0
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
17 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
18 author='Jeff Hammel',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
19 author_email='k0scist@gmail.com',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
20 url='',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
21 license="GPL",
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
22 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
23 include_package_data=True,
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
24 zip_safe=False,
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
25 install_requires=[
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
26 # -*- Extra requirements: -*-
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
27 'WebOb',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
28 'Paste',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
29 'PasteScript',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
30 'genshi',
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
31 'simplejson'
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
32 ],
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
33 entry_points="""
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
34 # -*- Entry points: -*-
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
35 [paste.app_factory]
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
36 main = webcalc.factory:factory
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
37
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
38 [webcalc.formatters]
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
39 text/plain = webcalc.formatters:CSVformat
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
40 application/json = webcalc.formatters:JSONformat
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
41 """,
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
42 )
1eea6356d2e5 initial import of webcalc
k0s <k0scist@gmail.com>
parents:
diff changeset
43