from __future__ import print_function
from setuptools import setup
from mbeacon import __version__ as VERSION
from build_utils import BuildCommand
from build_utils import PublishCommand
from build_utils import BinaryDistribution


PACKAGE_NAME = 'mbeacon'
BuildCommand.pkg = PACKAGE_NAME
BuildCommand.py2 = False  # not supporting python2 anymore
BuildCommand.test = False  # don't do tests
PublishCommand.pkg = PACKAGE_NAME
PublishCommand.version = VERSION
README = open('readme.md').read()

setup(
    name=PACKAGE_NAME,
    version=VERSION,
    author="Kevin Walchko",
    keywords=['multicast'],
    author_email="walchko@noreply.github.com",
    description="A multicast framework and tools",
    license="MIT",
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.7',
        'Operating System :: Unix',
        'Operating System :: POSIX :: Linux',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Artificial Intelligence',
        'Topic :: Scientific/Engineering :: Image Recognition',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    install_requires=[
        'build_utils'     # installing and building the library
    ],
    url="https://github.com/MomsFriendlyRobotCompany/{}".format(PACKAGE_NAME),
    long_description=README,
    long_description_content_type='text/markdown',
    packages=[PACKAGE_NAME],
    cmdclass={
        'publish': PublishCommand,
        'make': BuildCommand
    },
    # scripts=[
    #     'bin/geckocore.py',
    #     'bin/geckolaunch.py',
    # #     # 'bin/mjpeg_server.py',  # why? use opencvutils instead
    # #     # 'bin/bag_play.py',
    # #     # 'bin/bag_record.py',
    # #     # 'bin/camera_calibrate.py',
    # #     # 'bin/image_view.py',
    # #     # 'bin/service.py',  # fix
    #     # 'bin/gecko_log_display.py',
    #     # 'bin/geckotopic.py',
    #     # 'bin/twist_keyboard.py'
    # #     # 'bin/video.py',
    # #     # 'bin/webserver.py'
    # ]
)
