"""******************************************************************************
 * Copyright (c) 2018 Contributors to the Eclipse Foundation
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0, or the W3C Software Notice and
 * Document License (2015-05-13) which is available at
 * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document.
 *
 * SPDX-License-Identifier: EPL-2.0 OR W3C-20150513
 ********************************************************************************"""

from setuptools import setup, find_packages

from pathlib import Path

this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()


setup(
    name="domus-tdd-api",
    version="1.0.1",
    description="A modular and semantic Thing Description Directory",
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Eclipse Thingweb Project",
    maintainer="Eclipse Thingweb Project",
    url="https://github.com/eclipse-thingweb/domus-tdd-api",
    project_urls={
        "Releases": "https://github.com/eclipse-thingweb/domus-tdd-api/tags",
        "Source": "https://github.com/eclipse-thingweb/domus-tdd-api",
    },
    keywords=[
        "web of things",
        "thing description directory",
        "wot",
        "tdd",
    ],
    classifiers=["Programming Language :: Python", "Framework :: Flask"],
    install_requires=[
        "Flask",
        "httpx",
        "jsonschema",
        "rdflib",
        "json-merge-patch",
        "python-configuration[toml]",
        "pyshacl",
        "importlib-metadata",
        "toml",
    ],
    extras_require={
        "prod": [
            "gunicorn",
        ],
        "dev": [
            "pytest",
            "pytest-env",
            "pytest_httpx",
            "jsoncomparison",
            "pytz",
            "black",
            "flake8",
            "requests",
        ],
    },
    entry_points={
        "console_scripts": ["domus-tdd-api = tdd:cli"],
    },
)
