#!/usr/bin/env python

from distutils.core import setup

main_ns = {}
with open("torque/version.py") as ver_file:
    exec(ver_file.read(), main_ns)

with open("README.md", "r", encoding="utf-8") as readme:
    long_description = readme.read()

setup(
    name="django-torque",
    version=main_ns["__version__"],
    description="django app for torque",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Open Tech Strategies, LLC",
    author_email="frankduncan@opentechstrategies.com",  # For now, this works
    url="https://code.librehq.com/ots/mediawiki/torque",
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: GNU Affero General Public License v3",
        "Operating System :: OS Independent",
    ],
    packages=[
        "torque",
        "torque.cache_rebuilder",
        "torque.migrations",
        "torque.management.commands",
    ],
    install_requires=[
        "mwclient",
        "python-magic",
        "jinja2",
        "werkzeug",
        "django",
        "psycopg2-binary",
        "orjson",
    ],
    package_dir={"": "."},
    python_requres=">=3.6",
)
