From 76289024543fbfb6df3d07f61f15eabc623dd246 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 23 Jul 2016 18:42:06 +0200 Subject: restructure code rename module to pyinflux split in client and parser package. the parser depends also on funcparserlib contains 3 examples of strange influxdb behavior --- setup.py | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 7126f2e..eff3f20 100644 --- a/setup.py +++ b/setup.py @@ -1,24 +1,23 @@ -#!/usr/bin/env python - +#!/usr/bin/env python3 from distutils.core import setup -setup(name='pyinfluxtools', - version='0.1', - description='Python classes to work with influxdb', - author='Yves Fischer', - author_email='yvesf+github@xapek.org', - license="MIT", - packages = ['pyinfluxtools'], -# url='https://github.com/', -# scripts=[], - install_requires=['funcparserlib==0.3.6'], - classifiers = [ - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Development Status :: 3 - Alpha", - "Intended Audience :: Developers", - "Operating System :: OS Independent", - "License :: OSI Approved :: MIT License", - ] -) +version = '0.1' +setup(name='pyinflux', + version=version, + description='Python classes to work with influxdb', + author='Yves Fischer', + author_email='yvesf+git@xapek.org', + license="MIT", + py_modules=['pyinflux'], + # url='https://github.com/', + install_requires=[], + extras_require={'parser': ['funcparserlib==0.3.6']}, + classifiers=[ + "Programming Language :: Python", + "Programming Language :: Python :: 3", + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "License :: OSI Approved :: MIT License", + ]) -- cgit v1.2.1