#!/usr/bin/env python3

"""
Goodbye python3.4

https://discuss.python.org/t/python-download-stats-for-march-2019/1424

Usage statistics show that no single minor version X of 3.4.X has more than
.39%

python3.5+ is convenient to support because 16.04 ships with py3.5 
"""

version = {}
with open("./src/yabc/version.py") as fp:
    exec(fp.read(), version)
version = version["__version__"]

import setuptools

setuptools.setup(
    version=version,
    name="yabc",
    python_requires=">=3.5,<3.9",
    author="Seattle Blockchain Solutions",
    maintainer="Robert Karl",
    maintainer_email="robertkarljr@gmail.com",
    install_requires=[
        "delorean==1.0.0",
        "flask==1.1.1",
        # version will differ for 3.8 (v3.0.2) vs 2.6.4 which supports py3.5
        "openpyxl",
        "python-dateutil==2.8.0",  # TODO: remove, we can just use delorean
        "sqlalchemy==1.3.3",
    ],
    url="https://github.com/robertkarl/yabc",
    description="A tax estimator for cryptocurrencies.",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3 :: Only",
    ],
)
