From b166cefd8a548e2e8d24ffa481f82bbf915fb3a7 Mon Sep 17 00:00:00 2001 From: Edet Titilope Date: Thu, 1 Dec 2022 14:47:22 +0000 Subject: [PATCH] Added long_description_content_type as text/markdown to setup.py Because of a change to pypi/warehouse which blocks uploads that have an invalid long_description that it won't be able to render https://github.com/pypi/warehouse/issues/5890. In order to fix this, we set long_description_content_type='text/markdown'. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 9457214e..b523f3d7 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ author_email = 'engineering@gocardless.com', description = 'A client library for the GoCardless Pro API.', long_description = long_description, + long_description_content_type='text/markdown', license = 'MIT', keywords = 'gocardless directdebit payments sepa bacs', url = 'https://github.com/gocardless/gocardless-pro-python',