# setup.py
'''
Setup tools
'''
import os
from setuptools import setup, find_packages

NAME = 'falcano'
VERSION = os.getenv('RELEASE_VERSION', 'DEV')
AUTHOR = 'Eric Walker'
AUTHOR_EMAIL = 'ewalker3@mmm.com'
DESCRIPTION = 'Falcano'
URL = 'https://github.com/3mcloud/falcano'
REQUIRES = [
    'stringcase'
]
REQUIRES_TEST = [
    'rsa>=4.3',
    'PyYAML>=5.3.1',
    'pylint>=2.5.0',
    'pytest>=5.4.1',
    'pytest-cov>=2.8.1',
    'bandit>=1.6.2',
    'safety>=1.8.7',
    'paste',
    'ptvsd',
    'boto3',  # Lambda includes boto
]

with open('README.md', 'r') as fh:
    LONG_DESCRIPTION = fh.read()


setup(
    name=NAME,
    version=VERSION,
    author=AUTHOR,
    author_email=AUTHOR_EMAIL,
    description=DESCRIPTION,
    long_description=LONG_DESCRIPTION,
    long_description_content_type="text/markdown",
    url=URL,
    packages=find_packages(exclude=("tests", "tests.*")),
    install_requires=REQUIRES,
    extras_require={
        'dev': REQUIRES_TEST,
    },
    include_package_data=True,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.8'
)
