-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
71 lines (61 loc) · 2.1 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from setuptools import setup, find_packages
version = '0.6'
long_description = """
Deliverance does transformations of HTML to 'theme' pages,
similar in function to XSLT but using a simpler
XML-based language to express the transformation.
New in this version
-------------------
* Deliverance now follows HTTP redirects when trying to fetch the
theme document and when fetching external content via `href` attributes
on rule tags.
* Add support for matching on namespace-prefixed attributes (malthe)
"""
setup(name='Deliverance',
version=version,
description="Deliverance transforms HTML to theme pages",
long_description=long_description,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"License :: OSI Approved :: MIT License",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
],
keywords='wsgi theming html',
author='Ian Bicking, Ethan Jucovy',
author_email='[email protected]',
url='https://github.com/deliverance/Deliverance/',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose', "WebTest"],
install_requires=[
"lxml",
"cssselect",
"WebOb",
"WSGIProxy",
"Tempita",
"Pygments",
"WebError",
"DevAuth",
"Paste",
"PasteScript",
"WSGIFilter",
"chardet",
"simplejson",
],
entry_points="""
[console_scripts]
deliverance-proxy = deliverance.proxycommand:main
[paste.paster_create_template]
deliverance = deliverance.paster_templates:DeliveranceTemplate
deliverance_plone = deliverance.paster_templates:PloneTemplate
[paste.filter_app_factory]
main = deliverance.middleware:make_deliverance_middleware
[paste.filter_factory]
garbagecollect = deliverance.garbagecollect:filter_factory
""",
)