From 9f61de26490760c1c126ea43690eec1c7124cb22 Mon Sep 17 00:00:00 2001 From: Emad Rad Date: Tue, 26 Dec 2023 15:21:02 +0330 Subject: [PATCH] fix: long_description_content_type added The long_description_content_type parameter is added to the setup() function to explicitly specify that the long description content is in reStructuredText format. --- {{ cookiecutter.package_name }}/setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/{{ cookiecutter.package_name }}/setup.py b/{{ cookiecutter.package_name }}/setup.py index defaadf..d04f496 100644 --- a/{{ cookiecutter.package_name }}/setup.py +++ b/{{ cookiecutter.package_name }}/setup.py @@ -38,6 +38,7 @@ def load_about(): author_email="{{ cookiecutter.email }}", description="{{ cookiecutter.description }}", long_description=load_readme(), + long_description_content_type="text/x-rst", packages=find_packages(exclude=["tests*"]), include_package_data=True, python_requires=">=3.7",