From 1afa515818df69902e473511103bf10d6838db61 Mon Sep 17 00:00:00 2001 From: Ilham AM Date: Mon, 19 Aug 2024 18:27:10 +0700 Subject: [PATCH] fix: missing long description (#31) --- 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',