#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function

import io
from os.path import dirname
from os.path import join

from setuptools import find_packages
from setuptools import setup


def read(*names, **kwargs):
    return io.open(
        join(dirname(__file__), *names),
        encoding=kwargs.get('encoding', 'utf8')
    ).read()


def get_requirements(req_file):
    reqs = []
    with open(join(dirname(__file__), req_file),'r') as f:
        for line in f:
            reqs.append(line.rstrip())
    return reqs


setup(
    name='spec-synthase',
    version='0.1.8',
    license='MPL2',
    description='spec-synthase is a tool to help deal with big swagger files, by building the swagger specification files from little spec files. ',
    long_description=read('README.rst'),
    author='Allan Silva',
    author_email='a@allantavares.com.br',
    url='https://github.com/MicroarrayTecnologia/spec-synthase',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    entry_points={
        "console_scripts": {
            "specsynthase = specsynthase.cli:main",
        },
    },
    keywords=[
        'OpenAPI Specification', 'OAS', 'swagger', 'yaml', 'spec', 'api'
    ],
    install_requires=get_requirements('requirements.txt'),
    tests_require=get_requirements('requirements-test.txt'),
    extras_require={
    },
)

#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function

import io
from os.path import dirname
from os.path import join

from setuptools import find_packages
from setuptools import setup


def read(*names, **kwargs):
    return io.open(
        join(dirname(__file__), *names),
        encoding=kwargs.get('encoding', 'utf8')
    ).read()


def get_requirements(req_file):
    reqs = []
    with open(join(dirname(__file__), req_file),'r') as f:
        for line in f:
            reqs.append(line.rstrip())
    return reqs


setup(
    name='spec-synthase',
    version='0.1.8',
    license='MPL2',
    description='spec-synthase is a tool to help deal with big swagger files, by building the swagger specification files from little spec files. ',
    long_description=read('README.rst'),
    author='Allan Silva',
    author_email='a@allantavares.com.br',
    url='https://github.com/MicroarrayTecnologia/spec-synthase',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
    entry_points={
        "console_scripts": {
            "specsynthase = specsynthase.cli:main",
        },
    },
    keywords=[
        'OpenAPI Specification', 'OAS', 'swagger', 'yaml', 'spec', 'api'
    ],
    install_requires=get_requirements('requirements.txt'),
    tests_require=get_requirements('requirements-test.txt'),
    extras_require={
    },
)

Add py3.7 to classifiers