# Copyright (C) 2019-2021 HERE Global B.V. and its affiliate(s).
# All rights reserved.
#
# This software and other materials contain proprietary information
# controlled by HERE and are protected by applicable copyright legislation.
# Any use and utilization of this software and other materials and
# disclosure to any third parties is conditional upon having a separate
# agreement with HERE for the access, use, utilization or disclosure of this
# software. In the absence of such agreement, the use of the software is not
# allowed.


"""This is the setup file as used by ``setuptools`` and ``pip``."""

from setuptools import find_namespace_packages, setup

# Note this file is public: it's included in the output source distribution packages (sdist)

with open("README.rst", encoding="utf-8") as f:
    readme = f.read()

with open("requirements.txt", encoding="utf-8") as f:
    requirements = f.read().strip().split("\n")

# Parameters are included in the `setup` call

pkg_name = "here-services"
pkg_params: dict = {}

packages = find_namespace_packages(exclude=["tests", "tests.*"])

setup(
    name=pkg_name,
    description="HERE Platform Python SDK, Services access package",
    version="2.5.0",
    url="https://here.com",
    author="HERE Global B.V. and its affiliate(s)",
    # SPDX-License-Identifier: LicenseRef-Proprietary-HERE
    license="HERE Proprietary License",
    long_description=readme,
    long_description_content_type="text/x-rst",
    python_requires=">=3.7",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: Other/Proprietary License",
        "Natural Language :: English",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: POSIX",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Scientific/Engineering :: GIS",
        "Topic :: Software Development :: Libraries",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    project_urls={"Source": "ssh://git@main.gitlab.in.here.com:3389/sdk/pysdk-nagini.git"},
    packages=packages,
    install_requires=requirements,
    **pkg_params
)
