From 0af1885f87369ff61cf3e1d97d0eed6f6dce1009 Mon Sep 17 00:00:00 2001 From: Jamaal Scarlett Date: Wed, 18 Oct 2023 11:40:30 -0400 Subject: [PATCH] Update setup.py (#693) Add long_description settings to setup.py to address `twine check` errors --- setup.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c176b358..a949ef95 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,11 @@ #!/usr/bin/env python from setuptools import setup +from pathlib import Path -setup(use_scm_version={"version_scheme": "post-release"}) +this_directory = Path(__file__).parent +long_description = (this_directory / "README.rst").read_text() +setup( + long_description=long_description, + long_description_content_type='text/markdown', + use_scm_version={"version_scheme": "post-release"} +)