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 72 73 74 75 76
|
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
# http://peak.telecommunity.com/DevCenter/setuptools#developer-s-guide
# Get version info
__version__ = None
__release__ = None
exec(open("kajiki/version.py").read())
def content_of(*files):
here = os.path.abspath(os.path.dirname(__file__))
content = []
for f in files:
with open(os.path.join(here, f)) as stream:
content.append(stream.read())
return "\n".join(content)
setup(
name="kajiki",
version=__release__,
description="Fast XML-based template engine with Genshi syntax and " "Jinja blocks",
long_description=content_of("README.rst", "CHANGES.rst"),
classifiers=[ # http://pypi.python.org/pypi?:action=list_classifiers
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: XML",
],
keywords="templating engine template genshi jinja jinja2 mako "
"chameleon xml html xhtml",
author="Rick Copeland",
author_email="rick446@usa.net",
maintainer="Jack Rosenthal",
maintainer_email="jack@rosenth.al",
url="https://github.com/jackrosenthal/kajiki",
license="MIT",
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
include_package_data=True,
zip_safe=False,
python_requires=">=3.4",
install_requires=["linetable"],
extras_require={
"testing": ["babel", "pytest"],
"docs": ["sphinx"],
},
entry_points="""
[console_scripts]
kajiki = kajiki.__main__:main
[babel.extractors]
kajiki = kajiki.i18n:extract
""",
)
|