Skip to content

package published to pypi is missing project description. #5345

Answered by abn
BeyondEvil asked this question in Q&A
Discussion options

You must be logged in to vote

You should probably add readme = "README.rst" to your pyproject.toml file.

Additionally, best to drop both the setup.py and setup.cfg files as they are only required for setuptools. Move the metadata to the tool.poetry section.

You should probably also update your build-system section to be something like

poetry/pyproject.toml

Lines 74 to 76 in 15f6ec1

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

You can test all this by locally doing poetry build then checking metadata in the wheel generated.

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@abn
Comment options

abn Mar 24, 2022
Maintainer

@BeyondEvil
Comment options

@abn
Comment options

abn Mar 24, 2022
Maintainer

@BeyondEvil
Comment options

@abn
Comment options

abn Mar 24, 2022
Maintainer

Answer selected by abn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants