Debian Codegraph @

setup.py

raw symbols SCIP
1 #!/usr/bin/env python
2 """ j2cli - Jinja2 Command-Line Tool
3 ================================
4
5 `j2cli` is a command-line tool for templating in shell-scripts,
6 leveraging the [Jinja2](http://jinja.pocoo.org/docs/) library.
7
8 Features:
9
10 * Jinja2 templating
11 * INI, YAML, JSON data sources supported
12 * Allows the use of environment variables in templates! Hello [Docker](http://www.docker.com/) :)
13
14 Inspired by [mattrobenolt/jinja2-cli](https://github.com/mattrobenolt/jinja2-cli)
15 """
16
17 from setuptools import setup, find_packages
18 import sys
19
20 # PyYAML 3.11 was the last to support Python 2.6
21 # This code limits pyyaml version for older pythons
22 pyyaml_version = 'pyyaml >= 3.10' # fresh
23 if sys.version_info[:2] == (2, 6):
24 pyyaml_version = 'pyyaml<=3.11'
25
26
27 setup(
28 name='j2cli',
29 version='0.3.12b',
30 author='Mark Vartanyan',
31 author_email='[email protected]',
32
33 url='https://github.com/kolypto/j2cli',
34 license='BSD',
35 description='Command-line interface to Jinja2 for templating in shell scripts.',
36 long_description=__doc__, # can't do open('README.md').read() because we're describing self
37 long_description_content_type='text/markdown',
38 keywords=['Jinja2', 'templating', 'command-line', 'CLI'],
39
40 packages=find_packages(),
41 scripts=[],
42 entry_points={
43 'console_scripts': [
44 'j2 = j2cli:main',
45 ]
46 },
47
48 install_requires=[
49 'jinja2 >= 2.7.2',
50 ],
51 extras_require={
52 'yaml': [pyyaml_version,]
53 },
54 include_package_data=True,
55 zip_safe=False,
56 test_suite='nose.collector',
57
58 platforms='any',
59 classifiers=[
60 'Development Status :: 5 - Production/Stable',
61 'Intended Audience :: Developers',
62 'Intended Audience :: System Administrators',
63 'Operating System :: OS Independent',
64 'Topic :: Software Development',
65 'Natural Language :: English',
66 'Programming Language :: Python :: 2',
67 'Programming Language :: Python :: 3',
68 ],
69 )