import setuptools

from odoo_env import __version__

# https://setuptools.pypa.io/en/latest/userguide/declarative_config.html


with open("README.md") as fh:
    long_description = fh.read()

setuptools.setup(
    version=__version__,
    description="A Dockerized environment for Odoo",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/jobiols/odoo-env",
    author_email="jorge.obiols@gmail.com",
    python_requires=">=3.4",
    entry_points={
        "console_scripts": ["oe=odoo_env.oe:main", "sd=odoo_env.sd:main"],
    },
    install_requires=["PyYAML", "six", "tornado"],
    # TODO Esto no funciona en gentoo, no pone el archivo en /usr/local
    data_files=[("", ["odoo_env/data/nginx.conf"])],
    packages=setuptools.find_packages(),
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Operating System :: Linux",
        "Topic :: Software Development :: Testing :: Unit",
        "Topic :: System :: Software Distribution",
    ],
    keywords="odoo docker environment",
)
