#!/usr/bin/env python
import os

with open(os.path.join('loglab', 'version.py'), 'rt') as f:
    version = f.read().strip()
    version = version.split('=')[1].strip('"')

__version__ = version

from distutils.core import setup

SCRIPTS = ['bin/loglab']
if os.name == 'nt':
    SCRIPTS += ['bin/loglab.bat']

setup(
    name='loglab',
    version=__version__,
    author="<NAME>",
    author_email='<EMAIL>',
    url="https://github.com/haje01/loglab",
    description="Tools that help you design and utilize log formats",
    platforms=["any"],
    python_requires='>=3.7',
    packages=['loglab'],
    scripts=SCRIPTS,
    license='MIT License',
    install_requires=[
        'click',
        "jsonschema==3.2.0",
        'jinja2',
        'tabulate[widechars]',
        'requests'
    ],
    extras_require={
        'dev': [
            'pytest',
            'coverage',
            'pyinstaller',
            'tox'
        ],
    },
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Intended Audience :: Developers',
        'Programming Language :: Python :: 3.7'
    ]
)

#!/usr/bin/env python
import os

with open(os.path.join('loglab', 'version.py'), 'rt') as f:
    version = f.read().strip()
    version = version.split('=')[1].strip('"')

__version__ = version

from distutils.core import setup

SCRIPTS = ['bin/loglab']
if os.name == 'nt':
    SCRIPTS += ['bin/loglab.bat']

setup(
    name='loglab',
    version=__version__,
    author="<NAME>",
    author_email='<EMAIL>',
    url="https://github.com/haje01/loglab",
    description="Tools that help you design and utilize log formats",
    platforms=["any"],
    python_requires='>=3.7',
    packages=['loglab'],
    scripts=SCRIPTS,
    license='MIT License',
    install_requires=[
        'click',
        "jsonschema==3.2.0",
        'jinja2',
        'tabulate[widechars]',
        'requests'
    ],
    extras_require={
        'dev': [
            'pytest',
            'coverage',
            'pyinstaller',
            'tox'
        ],
    },
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Intended Audience :: Developers',
        'Programming Language :: Python :: 3.7'
    ]
)

#!/usr/bin/env python