From 2e1e8d7b74b84014c4e3ee05e50c0a5850573dc8 Mon Sep 17 00:00:00 2001 From: Bowrna Date: Wed, 28 Jul 2021 22:50:09 +0530 Subject: [PATCH] project description in pypi docs --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index 9e1d337c5..52e6fc386 100755 --- a/setup.py +++ b/setup.py @@ -9,6 +9,9 @@ mod_dir = os.path.join(work_dir, 'src', 'confluent_kafka') ext_dir = os.path.join(mod_dir, 'src') +with open(os.path.join(work_dir, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + INSTALL_REQUIRES = [ 'futures;python_version<"3.2"', 'enum34;python_version<"3.4"', @@ -80,6 +83,8 @@ def get_install_requirements(path): description='Confluent\'s Python client for Apache Kafka', author='Confluent Inc', author_email='support@confluent.io', + long_description=long_description, + long_description_content_type='text/markdown', url='https://github.com/confluentinc/confluent-kafka-python', ext_modules=[module], packages=find_packages('src'),