"""Setup."""

from pathlib import Path

from setuptools import find_packages, setup

THIS_DIRECTORY = Path(__file__).resolve().parent


INSTALL_REQUIRES = [
    "numpyro~=0.4.0",
    "pandas>=1.0.0,<2.0.0",  # ok w/ any 1.x pandas
]

# use readme as long description
LONG_DESCRIPTION = (THIS_DIRECTORY / "readme.md").read_text()
VERSION = (THIS_DIRECTORY / "src" / "shabadoo" / "version").read_text().strip()

setup(
    name="shabadoo",
    version=VERSION,
    description="Very easy Bayesian regression using numpyro.",
    long_description=LONG_DESCRIPTION,
    long_description_content_type="text/markdown",
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/nolanbconaway/shabadoo",
    classifiers=[
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
    ],
    keywords=["bayesian", "regression", "mcmc"],
    license="MIT",
    package_dir={"": "src"},
    packages=find_packages("src"),
    install_requires=[INSTALL_REQUIRES],
    extras_require=dict(
        test=["black==19.10b0", "pytest", "pytest-cov", "codecov", "tox"],
        docs=["sphinx~=2.4.4", "m2r", "numpydoc"],
    ),
    package_data={"shabadoo": ["version"]},
)

"""Setup."""

from pathlib import Path

from setuptools import find_packages, setup

THIS_DIRECTORY = Path(__file__).resolve().parent


INSTALL_REQUIRES = [
    "numpyro~=0.4.0",
    "pandas>=1.0.0,<2.0.0",  # ok w/ any 1.x pandas
]

# use readme as long description
LONG_DESCRIPTION = (THIS_DIRECTORY / "readme.md").read_text()
VERSION = (THIS_DIRECTORY / "src" / "shabadoo" / "version").read_text().strip()

setup(
    name="shabadoo",
    version=VERSION,
    description="Very easy Bayesian regression using numpyro.",
    long_description=LONG_DESCRIPTION,
    long_description_content_type="text/markdown",
    author="<NAME>",
    author_email="<EMAIL>",
    url="https://github.com/nolanbconaway/shabadoo",
    classifiers=[
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
    ],
    keywords=["bayesian", "regression", "mcmc"],
    license="MIT",
    package_dir={"": "src"},
    packages=find_packages("src"),
    install_requires=[INSTALL_REQUIRES],
    extras_require=dict(
        test=["black==19.10b0", "pytest", "pytest-cov", "codecov", "tox"],
        docs=["sphinx~=2.4.4", "m2r", "numpydoc"],
    ),
    package_data={"shabadoo": ["version"]},
)

Setup. # ok w/ any 1.x pandas # use readme as long description