From 029baa112445e01fbfd41d898514e65f21596481 Mon Sep 17 00:00:00 2001 From: Chandra Prakash Date: Mon, 12 Feb 2024 06:36:52 -0800 Subject: [PATCH] Fix: 'long_description' error when publishing to PyPI --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index 02e0b8e..9f6be7b 100644 --- a/setup.py +++ b/setup.py @@ -20,12 +20,16 @@ def local_file(path): with open(local_file('fuzz_lightyear/version.py')) as f: exec(f.read()) +with open('README.md', encoding='utf-8') as f: + long_description = f.read() setup( name='fuzz_lightyear', packages=find_packages(exclude=(['test*', 'tmp*'])), version=VERSION, description='Vulnerability Discovery through Stateful Swagger Fuzzing', + long_description=long_description, + long_description_content_type='text/markdown', license='Copyright Yelp, Inc. 2019', author=', '.join([ 'Aaron Loo ',