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 Feb 18, 2024
1 parent b79d61a commit 9f61de2
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 @@ -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",
Expand Down

0 comments on commit 9f61de2

Please sign in to comment.