import setuptools

# from config import config

# version = config().__version__


import configparser


config_path  = './ggwp/config.cfg'
parser = configparser.ConfigParser()
parser.read(config_path)
version = parser['default']['version']


# save README.md as var
with open("README.md", "r") as fh:
    long_description = fh.read()

requirements = [
    "pandas",
    "numpy",
    "sklearn",
    "xgboost",
]

setuptools.setup(
    name="ggwp", 
    version=version,
    license='MIT',
    author="Pathompol Nilchaikovit",
    author_email="data.noob.lol@gmail.com",
    description="Prepare Fast, Analyze Faster",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/datanooblol/ggwp",
    install_requires=requirements,
    packages=setuptools.find_packages(),
    package_data={
        '':['*.cfg']
    },
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.5',
)