""" Setup module for kervi generating setup package used with pip """
from distutils.core import setup
import distutils
from kervi.version import VERSION

try:
    distutils.dir_util.remove_tree("dist")
except:
    pass

setup(
    name='kervi',
    packages=[
        'kervi',
        'kervi/application',
        'kervi/utility',
        'kervi/hal'
    ],
    version=VERSION,
    description="""
    A python framework for creating robotic and automation applications on Raspbery pi (and other platforms).
    UI is web based and generated on the fly based on configuration in python code.
    """,
    author='Tim Wentzlau',
    author_email='tim.wentzlau@gmail.com',
    url='https://github.com/kervi/kervi',
    download_url='https://github.com/kervi/kervi/archive/v1.0-alpha.tar.gz',
    keywords=['raspberry pi', 'robotic', 'automation'],
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Education",
        "Intended Audience :: Information Technology",
        "Intended Audience :: Manufacturing",
        "Intended Audience :: Science/Research",
        "Topic :: Scientific/Engineering",
        "Topic :: Scientific/Engineering :: Human Machine Interfaces",
        "Topic :: Software Development :: Documentation",
        "Topic :: System :: Monitoring",
        "Environment :: Console",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: MacOS",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Python :: 3.4"
    ],
    install_requires=[
        'kervi-ui',
        'kervi-cli',
        'kervi-hal-generic',
        'kervi-device-library',
        'autobahn',
        'pillow'
    ],
    extras_require={
        'rpi':  ['kervi-hal-rpi'],
        'raspberry':  ['kervi-hal-rpi'],
        'win':  ['kervi-hal-win'],
        'windows':  ['kervi-hal-win'],
        'linux':  ['kervi-hal-linux'],
        'mac':  ['kervi-hal-linux'],
    },
    include_package_data=True,
    package_data={
        "kervi":[
            "fonts/*.*"
        ]
    }
)


""" Setup module for kervi generating setup package used with pip """
from distutils.core import setup
import distutils
from kervi.version import VERSION

try:
    distutils.dir_util.remove_tree("dist")
except:
    pass

setup(
    name='kervi',
    packages=[
        'kervi',
        'kervi/utility',
        'kervi/hal'
    ],
    version=VERSION,
    description="""
    A python framework for creating robotic and automation applications on Raspbery pi (and other platforms).
    UI is web based and generated on the fly based on configuration in python code.
    """,
    author='Tim Wentzlau',
    author_email='tim.wentzlau@gmail.com',
    url='https://github.com/kervi/kervi',
    download_url='https://github.com/kervi/kervi/archive/v1.0-alpha.tar.gz',
    keywords=['raspberry pi', 'robotic', 'automation'],
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Education",
        "Intended Audience :: Information Technology",
        "Intended Audience :: Manufacturing",
        "Intended Audience :: Science/Research",
        "Topic :: Scientific/Engineering",
        "Topic :: Scientific/Engineering :: Human Machine Interfaces",
        "Topic :: Software Development :: Documentation",
        "Topic :: System :: Monitoring",
        "Environment :: Console",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: MacOS",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Python :: 3.4"
    ],
    install_requires=[
        'kervi-ui',
        'kervi-cli',
        'kervi-hal-generic',
        'kervi-device-library',
        'autobahn',
        'pillow'
    ],
    extras_require={
        'rpi':  ['kervi-hal-rpi'],
        'raspberry':  ['kervi-hal-rpi'],
        'win':  ['kervi-hal-win'],
        'windows':  ['kervi-hal-win'],
        'linux':  ['kervi-hal-linux'],
        'mac':  ['kervi-hal-linux'],
    },
    include_package_data=True,
    package_data={
        "kervi":[
            "fonts/*.*"
        ]
    }
)


delete link to wrong package