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 PEP 621 Conventions #1219

Merged
merged 9 commits into from
Apr 25, 2023
Merged

Adopt PEP 621 Conventions #1219

merged 9 commits into from
Apr 25, 2023

Conversation

moshez
Copy link
Contributor

@moshez moshez commented Apr 24, 2023

Fixes #1203

Simple helloworld pyproject.toml after these changes:

[project]
name = "helloworld"
version = "1.2.3"
authors = [{name = "Jane Developer", email = "[email protected]"}]
dependencies = ["numpy"]
description = "very silly"

[project.urls]
Homepage = "https://example.com/helloworld"

[project.optional-dependencies]
test = ["pytest"]

[project.license]
text = "BSD....."

[tool.briefcase]
project_name = "Hello World"
bundle = "com.example"

[tool.briefcase.app.helloworld]
formal_name = "Hello World"
long_description = """More details about the app should go here.
"""
icon = "src/helloworld/resources/helloworld"
sources = [
    "src/helloworld",
]
test_sources = [
    "tests",
]

[tool.briefcase.app.helloworld.macOS]
requires = [
    "toga-cocoa~=0.3.1",
    "std-nslog~=1.0.0"
]

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@moshez moshez marked this pull request as ready for review April 24, 2023 21:55
Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tweaked the docs and added some more tests of the merging process, but otherwise this looks great - thanks for the PR!

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

Successfully merging this pull request may close these issues.

Adopt PEP621 conventions for package metadata
2 participants