Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package and distribution naming style #727

Open
cosven opened this issue Aug 28, 2023 · 0 comments
Open

Package and distribution naming style #727

cosven opened this issue Aug 28, 2023 · 0 comments
Labels
FEP feeluown enhancement proposal

Comments

@cosven
Copy link
Member

cosven commented Aug 28, 2023

package-name normalized form
https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization

distribution file-name
The distribution file name ({package}-{version}.tar.gz) is normalized by pdm and poetry. They replace '-' with '_'.

  1. poetry: https://github.com/python-poetry/poetry-core/pull/484/files
  2. pdm: https://github.com/pdm-project/pdm-backend/blob/abd5537cea74f79a2bdde0fb44fcd8a933522a0a/src/pdm/backend/utils.py#L35-L40
  3. flit: https://github.com/pypa/flit/blob/d8cc776fd0312b4d0204e8b0b97d72977aa083a5/flit_core/flit_core/common.py#L439

Proposal

The naming convention of the package name released by the feeluown organization should use _ instead of - in its distribution filename.

@cosven cosven added the FEP feeluown enhancement proposal label Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEP feeluown enhancement proposal
Projects
None yet
Development

No branches or pull requests

1 participant