Skip to content

Commit

Permalink
fix: long_description_content_type added
Browse files Browse the repository at this point in the history
The long_description_content_type parameter is added to the setup() function to explicitly specify that the long description content is in reStructuredText format.
  • Loading branch information
CodeWithEmad committed Dec 26, 2023
1 parent b362636 commit 426e558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions {{ cookiecutter.package_name }}/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def load_about():
license="{{ cookiecutter.license }}",
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.8",
Expand Down

0 comments on commit 426e558

Please sign in to comment.