From 1a4911bc1ba06a2770d976a7c204834f32a73323 Mon Sep 17 00:00:00 2001 From: Ignacio Calderon Date: Mon, 19 Aug 2024 13:28:25 +0200 Subject: [PATCH] fix: missing long description (#31) (#32) Co-authored-by: Ilham AM --- setup.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.py b/setup.py index c0caf7e..ca1fa4e 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,10 @@ #!/usr/bin/env python from setuptools import setup, find_packages +try: + long_description = open("README.md").read() +except IOError: + long_description = "" def find_version(*file_paths): def read(*parts): @@ -24,6 +28,7 @@ def read(*parts): author='Ignacio Calderon', description='OpenStep plist reader into python objects', long_description=long_description, + long_description_content_type='text/markdown', url="http://github.com/kronenthaler/openstep-parser", version=find_version("openstep_parser", "__init__.py"), license='BSD License',