from setuptools import setup, find_packages

# Pull version from source without importing
# since we can't import something we haven't built yet :)
exec(open('kafka_influxdb/version.py').read())

def readme():
    with open('README.rst') as f:
        return f.read()

with open('requirements.txt', 'r') as f:
    requires = [x.strip() for x in f if x.strip()]

setup(name='kafka_influxdb',
    version=__version__,
    description='A Kafka consumer for InfluxDB',
    long_description=readme(),
    classifiers=[
    'Development Status :: 4 - Beta',
    'License :: OSI Approved :: Apache Software License',
    'Topic :: Utilities',
    "Programming Language :: Python",
    "Programming Language :: Python :: 2",
    "Programming Language :: Python :: 2.6",
    "Programming Language :: Python :: 2.7",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.3",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: Implementation :: PyPy",
    ],
    keywords='kafka influxdb metrics consumer',
    url='http://github.com/mre/kafka-influxdb',
    author='Matthias Endler',
    author_email='matthias-endler@gmx.net',
    license='Apache',
    packages=find_packages(),
    dependency_links=[
       #"git+ssh://git@github.com/mwilliamson/mayo.git@0.2.1#egg=mayo-0.2.1"
      'git+https://github.com/influxdb/influxdb-python.git@815f7f96caf700c9bb3e6b5eb3108cfcee4c0469#egg=influxdb'
    ],
    install_requires=requires,
    test_suite='nose.collector',
    tests_require=['nose', 'nose-cover3'],
    entry_points={
      'console_scripts': ['kafka_influxdb=kafka_influxdb.kafka_influxdb:main'],
    },
    include_package_data=True,
    zip_safe=False)

from setuptools import setup, find_packages

# Pull version from source without importing
# since we can't import something we haven't built yet :)
exec(open('kafka_influxdb/version.py').read())

def readme():
    with open('README.rst') as f:
        return f.read()

with open('requirements.txt', 'r') as f:
    requires = [x.strip() for x in f if x.strip()]

setup(name='kafka_influxdb',
    version=__version__,
    description='A Kafka consumer for InfluxDB',
    long_description=readme(),
    classifiers=[
    'Development Status :: 4 - Beta',
    'License :: OSI Approved :: Apache Software License',
    'Topic :: Utilities',
    "Programming Language :: Python",
    "Programming Language :: Python :: 2",
    "Programming Language :: Python :: 2.6",
    "Programming Language :: Python :: 2.7",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.3",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: Implementation :: PyPy",
    ],
    keywords='kafka influxdb metrics consumer',
    url='http://github.com/mre/kafka-influxdb',
    author='Matthias Endler',
    author_email='matthias-endler@gmx.net',
    license='Apache',
    packages=find_packages(),
    install_requires=requires,
    test_suite='nose.collector',
    tests_require=['nose', 'nose-cover3'],
    entry_points={
      'console_scripts': ['kafka_influxdb=kafka_influxdb.kafka_influxdb:main'],
    },
    include_package_data=True,
    zip_safe=False)

Remove old dependency to exact version of InfluxDB Python module