old_contents: #!/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',
      version='0.7.0.dev0',
      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(),
      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'
      ],
  )
  
new_contents: #!/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',
      version='0.7.0.dev0',
      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,
      },
      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'
      ],
  )
  
subject: exclude tests from packaging