Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
Adding new long_description_content_type field for setup.cfg
Browse files Browse the repository at this point in the history
- Twine is now warning on missing the long_description_content_type in
setup.cfg, this is necessary to distinguish between RST and MD files for
PyPi (idk why they can't just detect this)

Signed-off-by: Stephen Bunn <stephen@bunn.io>
  • Loading branch information
stephen-bunn committed Oct 7, 2019
1 parent b33b3af commit 8b538b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions news/long-description-content-type.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adding ``long_description_content_type`` to ``setup.cfg`` for new twine package check warnings
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ url = https://github.com/stephen-bunn/file-config
author = Stephen Bunn
author_email = stephen@bunn.io
long_description = file: README.rst
long_description_content_type = text/x-rst
license = ISC License
keywords =
config
Expand Down

0 comments on commit 8b538b3

Please sign in to comment.