From b2e46d926dcfcec0c3fe070e91f791d518ec4d92 Mon Sep 17 00:00:00 2001 From: Guy Korland Date: Thu, 19 Dec 2019 18:07:00 +0200 Subject: [PATCH] Long description (#28) * add long_description * Update setup.py --- setup.py | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index ef8009f..2ab69ce 100644 --- a/setup.py +++ b/setup.py @@ -1,19 +1,29 @@ from setuptools import setup, find_packages +import io + +def read_all(f): + with io.open(f, encoding="utf-8") as I: + return I.read() + +requirements = map(str.strip, open("requirements.txt").readlines()) + setup( name='redistimeseries', version='0.5', - description='RedisTimeSeries Python Client', + long_description=read_all("README.md"), + long_description_content_type='text/markdown', url='https://github.com/RedisTimeSeries/redistimeseries-py', packages=find_packages(), - install_requires=['redis'], - + install_requires=requirements, classifiers=[ - 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.7', 'Topic :: Database', 'Topic :: Software Development :: Testing' - ] + ], + keywords='Redis TimeSeries Extension', + author='RedisLabs', + author_email='oss@redislabs.com' )