""" Setup.py script generated by paver """

import sys
from setuptools import setup, find_packages

VERSION = "0.9.3"

INSTALL_REQS = ["pika"]

if sys.version_info < (3, 0):
    INSTALL_REQS.append("pyserial >= 2.5")
else:
    INSTALL_REQS.append("pyserial-py3k")

setup(
    name="phase-currentcost",
    version=VERSION,
    description="Python script to collect data from current cost EnviR",
    long_description=open('README.md').read(),
    author="Pierre Leray",
    author_email="pierreleray64@gmail.com",
    url="https://github.com/liogen/phase-currentcost",
    license='LICENSE',
    packages=find_packages(),
    scripts=["bin/currentcost"],
    install_requires=INSTALL_REQS,
    zip_safe=False,
)

""" Setup.py script generated by paver """

from setuptools import setup, find_packages

VERSION = "0.9.3"

INSTALL_REQS = ["pika", "pyserial >= 2.5"]

setup(
    name="phase-currentcost",
    version=VERSION,
    description="Python script to collect data from current cost EnviR",
    long_description=open('README.md').read(),
    author="Pierre Leray",
    author_email="pierreleray64@gmail.com",
    url="https://github.com/liogen/phase-currentcost",
    license='LICENSE',
    packages=find_packages(),
    scripts=["bin/currentcost"],
    install_requires=INSTALL_REQS,
    zip_safe=False,
)

change pyserial version for python3