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

flit init namespace package name validation #679

Open
3kwa opened this issue Mar 20, 2024 · 0 comments
Open

flit init namespace package name validation #679

3kwa opened this issue Mar 20, 2024 · 0 comments

Comments

@3kwa
Copy link

3kwa commented Mar 20, 2024

When calling flit init one is prompted for a package name.

The validation of the name uses str.identifier.

Since version 3.5 flit can distribute namespace packages.

str.identifier returns False when called with a valid namespace package name.

A workaround is to edit the pyproject.toml file and replace the name accepted by flit init with the namespace package name proper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant