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