-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
70 lines (64 loc) · 2.11 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
from setuptools import find_packages
from setuptools import setup
extras_require = {
"wsgi": [
"repoze.xmliter",
"WebOb",
],
"test": [
"repoze.xmliter",
"WebOb",
],
}
readme = open("README.rst").read()
changes = open("CHANGES.rst").read()
long_desc = readme + "\n\n" + changes
setup(
name="diazo",
version="2.0.3.dev0",
description="""Diazo implements a Deliverance like language using a pure
XSLT engine. With Diazo, you "compile" your theme and ruleset in one
step, then use a superfast/simple transform on each request thereafter.
Alternatively, compile your theme during development, check it into
version control, and not touch Diazo during deployment.""",
keywords="web theming",
long_description=long_desc,
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
zip_safe=False,
author="Paul Everitt, Laurence Rowe and Martin Aspeli.",
author_email="[email protected]",
url="http://diazo.org",
license="New BSD",
classifiers=[
"Development Status :: 6 - Mature",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Text Processing :: Markup :: XML",
],
python_requires=">=3.8",
install_requires=[
# 'setuptools',
"lxml",
"cssselect",
],
extras_require=extras_require,
entry_points="""
[console_scripts]
diazocompiler = diazo.compiler:main
diazorun = diazo.run:main
diazopreprocessor = diazo.rules:main
[paste.filter_app_factory]
xslt = diazo.wsgi:XSLTMiddleware
main = diazo.wsgi:DiazoMiddleware
""",
)