From df575346298c0b1d7a858653b372d2263df064c4 Mon Sep 17 00:00:00 2001 From: Chen Xie Date: Tue, 12 Apr 2022 20:17:47 -0700 Subject: [PATCH 1/2] Replace references to README.rst with README.md --- MANIFEST.in | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 0ff3f716..2f5dfb98 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,11 +2,11 @@ include LICENSE # Include readme file -include README.rst +include README.md # Include the data files # recursive-include data * # If using Python 2.6 or less, then have to include package data, even though # it's already declared in setup.py -# include sample/*.dat \ No newline at end of file +# include sample/*.dat diff --git a/setup.py b/setup.py index e30da086..39de5293 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ here = path.abspath(path.dirname(__file__)) # Get the long description from the README file -with open(path.join(here, 'README.rst'), encoding='utf-8') as f: +with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() # Get the version number from the version.py file From 695d9228dca815a9d0bce5a4c194abfad7d743d3 Mon Sep 17 00:00:00 2001 From: Chen Xie Date: Tue, 12 Apr 2022 21:18:08 -0700 Subject: [PATCH 2/2] Update desc content type --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 39de5293..2549bc8f 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ description='The WFDB Python Toolbox', long_description=long_description, + long_description_content_type="text/markdown", # The project's main homepage. url='https://github.com/MIT-LCP/wfdb-python',