-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Checklist before submitting an issue
- I have checked the existing issues and couldn't find an issue about this bug.
When #211 was fixed there was package_name and directory_name questions.
Issue details
The package_name
question value is used in multiple places:
- name on pypi, in
template/pyproject.toml:project.name
- name when importing, in
template/src/{{package_name}}
The name on pypi and import could be different for an existing package or a template user might want to have them different.
See https://blogs.gentoo.org/mgorny/2023/02/09/the-inconsistencies-around-python-package-naming-and-the-new-policy/ for a comparison what naming styles there are.
Could there be a warning when given package name does not follow PEP8?
Could package_name be split into package_name and directory_name? Maybe have the second question have default of the first answer.
fdiblen
Metadata
Metadata
Assignees
Labels
No labels