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

Adopt PEP621 conventions for package metadata #1203

Closed
freakboy3742 opened this issue Apr 23, 2023 · 0 comments · Fixed by #1219
Closed

Adopt PEP621 conventions for package metadata #1203

freakboy3742 opened this issue Apr 23, 2023 · 0 comments · Fixed by #1219
Labels
enhancement New features, or improvements to existing features.

Comments

@freakboy3742
Copy link
Member

freakboy3742 commented Apr 23, 2023

What is the problem or limitation you are having?

Briefcase uses a [tool.briefcase] section to specify project metadata. Many of the configuration items that Briefcase specifies have analogs in the PEP621 (currently maintained by the PyPA specification).

Describe the solution you'd like

Briefcase should honour PEP621 configuration keys where possible. This should be treated as another layer of cascading - so - a description specified in the PEP621 [project] section would be overridden by a value in the [tool.briefcase] section, which would be overridden by the value in the [tool.briefcase.app.myapp] section, and so on.

The briefcase new project template should generated PEP621 configuration items by default, rather than values in the [tool.briefcase] section.

This may require some adaptation for some keys - for example PEP621 allows authors to be a list, and LICENSE to be a dictionary. In these cases, Briefcase should be modified to accept PEP621-compatible keys.

Describe alternatives you've considered

Do nothing; Briefcase could continue to operate completely independently of PEP621.

Additional context

No response

@freakboy3742 freakboy3742 added the enhancement New features, or improvements to existing features. label Apr 23, 2023
@moshez moshez mentioned this issue Apr 24, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features, or improvements to existing features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant