package published to pypi is missing project description. #5345
-
My previous release shows the long description in pypi. My latest release, using How can I fix this? https://github.com/pytest-dev/pytest-metadata/blob/master/.github/workflows/publish.yml#L29-L34 https://github.com/pytest-dev/pytest-metadata/blob/master/setup.py https://github.com/pytest-dev/pytest-metadata/blob/master/setup.cfg#L4-L5 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
You should probably add Additionally, best to drop both the You should probably also update your Lines 74 to 76 in 15f6ec1 You can test all this by locally doing |
Beta Was this translation helpful? Give feedback.
You should probably add
readme = "README.rst"
to yourpyproject.toml
file.Additionally, best to drop both the
setup.py
andsetup.cfg
files as they are only required forsetuptools
. Move the metadata to thetool.poetry
section.You should probably also update your
build-system
section to be something likepoetry/pyproject.toml
Lines 74 to 76 in 15f6ec1
You can test all this by locally doing
poetry build
then checking metadata in the wheel generated.