from setuptools import setup, find_packages

def read_requirements(file):
    with open(file) as f:
        return f.read().splitlines()

def read_file(file):
   with open(file) as f:
        return f.read()
    
long_description = read_file("README.MD")
requirements = read_requirements("requirements.txt")

setup(
    name = '{{cookiecutter.python_package_name}}',
    author = '{{cookiecutter.author}}',
    author_email = '{{cookiecutter.author_email}}',
    description = '{{cookiecutter.description}}',
    long_description_content_type = "text/x-rst",  # If this causes a warning, upgrade your setuptools package
    long_description = long_description,
    license = "MIT license",
    packages = find_packages(exclude=["test"]),  # Don't include test directory in binary distribution
    install_requires = requirements,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],  # Update these accordingly,
)
