<filename>setup.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# This file is part of the
#   GriSPy Project (https://github.com/mchalela/GriSPy).
# Copyright (c) 2019, <NAME>
# License: MIT
#   Full Text: https://github.com/mchalela/GriSPy/blob/master/LICENSE


# =============================================================================
# DOCS
# =============================================================================

"""This file is for distribute and install GriSPy
"""


# =============================================================================
# IMPORTS
# =============================================================================

from ez_setup import use_setuptools
use_setuptools()

from setuptools import setup, find_packages  # noqa

import os.path

# =============================================================================
# CONSTANTS
# =============================================================================

REQUIREMENTS = ["numpy==1.17.2", "attrs==19.1.0", "ipdb==0.12.2",
                "matplotlib==3.1.1", "tox==3.14.0", "wheel==0.33.6"]

here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md")) as fp:
    LONG_DESCRIPTION = fp.read()

DESCRIPTION = "Grid Search in Python"


# =============================================================================
# FUNCTIONS
# =============================================================================

def do_setup():
    setup(
        name="grispy",
        version="2019.10",
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,

        author=[
            "<NAME>",
            "<NAME>",
            "<NAME>",
            "<NAME>"],
        author_email="<EMAIL>",
        url="https://github.com/mchalela/GriSPy",
        license="MIT",

        keywords=["grispy", "nearest", "neighbors", "search", "grid"],

        classifiers=[
            "Development Status :: 4 - Beta",
            "Intended Audience :: Education",
            "Intended Audience :: Science/Research",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
            "Programming Language :: Python",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: Implementation :: CPython",
            "Topic :: Scientific/Engineering"],

        packages=["grispy"],
        py_modules=["ez_setup"],

        install_requires=REQUIREMENTS,

        # extras_require={  # Optional
        #    "example": ["example"],
        #    "test": ["pytest","coverage","pytest-cov"],
        # }
    )


if __name__ == "__main__":
    do_setup()
