Mercurial > hg > genshi_view
annotate setup.py @ 21:807c8eef8098
add a handler for tempita; should rename the package (at some point) template_view
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 17 Nov 2010 11:02:33 -0800 |
parents | cf19d2e129de |
children | f088f0b54b55 |
rev | line source |
---|---|
0
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
1 from setuptools import setup, find_packages |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
2 |
20
cf19d2e129de
adding a basic README telling how to use
Jeff Hammel <jhammel@mozilla.com>
parents:
19
diff
changeset
|
3 try: |
cf19d2e129de
adding a basic README telling how to use
Jeff Hammel <jhammel@mozilla.com>
parents:
19
diff
changeset
|
4 description = file('README.txt').read() |
cf19d2e129de
adding a basic README telling how to use
Jeff Hammel <jhammel@mozilla.com>
parents:
19
diff
changeset
|
5 except IOError: |
cf19d2e129de
adding a basic README telling how to use
Jeff Hammel <jhammel@mozilla.com>
parents:
19
diff
changeset
|
6 description = '' |
cf19d2e129de
adding a basic README telling how to use
Jeff Hammel <jhammel@mozilla.com>
parents:
19
diff
changeset
|
7 |
cf19d2e129de
adding a basic README telling how to use
Jeff Hammel <jhammel@mozilla.com>
parents:
19
diff
changeset
|
8 version = '0.3.2' |
0
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
9 |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
10 setup(name='genshi_view', |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
11 version=version, |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
12 description="paste template for a view using webob + genshi", |
20
cf19d2e129de
adding a basic README telling how to use
Jeff Hammel <jhammel@mozilla.com>
parents:
19
diff
changeset
|
13 long_description=description, |
0
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
14 classifiers=[], # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
15 keywords='', |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
16 author='Jeff Hammel', |
3 | 17 author_email='k0scist@gmail.com', |
18 url='http://k0s.org/hg/genshi_view', | |
0
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
19 license='GPL', |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
20 packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
21 include_package_data=True, |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
22 zip_safe=False, |
3 | 23 install_requires=[ 'PasteScript' ], |
0
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
24 entry_points=""" |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
25 # -*- Entry points: -*- |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
26 [paste.paster_create_template] |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
27 genshi_view = genshi_view:GenshiViewTemplate |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
28 """, |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
29 ) |
b65da5423cc9
initial import from https://svn.openplans.org/svn/standalone/templates/genshi_view/trunk/
k0s <k0scist@gmail.com>
parents:
diff
changeset
|
30 |