import pathlib
from setuptools import setup

# The directory containing this file
HERE = pathlib.Path(__file__).parent

# The text of the README file
README = (HERE / "README.md").read_text()

requirements = ["pySerial", "click"]

setup(
    name="ubxserial",
    version="0.0.2",
    description="Python API for sending UBX message to ublox GPS device via serial",
    long_description=README,
    long_description_content_type="text/markdown",
    packages=["ubxserial"],
    license="MIT",
    classifiers=[
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
        "Programming Language :: Python :: 3",
    ],
    install_requires=requirements,
    author="Kai Geissdoerfer",
    author_email="kai.geissdoerfer@tu-dresden.de",
    setup_requires=["pytest-runner"],
    tests_require=["pytest>=3.9"],
    entry_points={"console_scripts": ["ubx-serial=ubxserial:write_config"]},
)
