forked from mattrobenolt/jinja2-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·48 lines (43 loc) · 1.41 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
#!/usr/bin/env python
"""
jinja2-cli
==========
.. code:: shell
$ jinja2 helloworld.tmpl data.json --format=json
$ cat data.json | jinja2 helloworld.tmpl
$ curl -s http://httpbin.org/ip | jinja2 helloip.tmpl
$ curl -s http://httpbin.org/ip | jinja2 helloip.tmpl > helloip.html
"""
from setuptools import find_packages, setup
install_requires = ["jinja2"]
tests_requires = ["pytest", "flake8"]
setup(
name="jinja2-cli",
version="0.8.2",
author="Matt Robenolt",
author_email="matt@ydekproductions.com",
url="https://github.com/mattrobenolt/jinja2-cli",
description="A CLI interface to Jinja2",
long_description=__doc__,
packages=find_packages(exclude=["tests"]),
zip_safe=False,
license="BSD",
install_requires=install_requires,
extras_require={
"yaml": install_requires + ["pyyaml"],
"toml": install_requires + ["toml"],
"xml": install_requires + ["xmltodict"],
"tests": install_requires + tests_requires,
"hjson": install_requires + ["hjson"],
"json5": install_requires + ["json5"],
},
tests_require=tests_requires,
include_package_data=True,
entry_points={"console_scripts": ["jinja2 = jinja2cli:main"]},
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Topic :: Software Development",
],
)