#!/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 setup, find_packages

install_requires = ['jinja2']
tests_requires = ['pytest', 'flake8<3']

setup(
    name='jinja2-cli-whitespace',
    version='0.1.2',
    author='Dan Lutsch',
    author_email='dlutsch@sprucefinance.com',
    url='https://github.com/dlutsch/jinja2-cli',
    description='A fork of jinja2-cli which allows override of whitespace control',
    long_description=__doc__,
    packages=find_packages(),
    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,
    },
    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'
    ],
)
