Skip to content

Commit

Permalink
put pretty names in metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby committed Aug 2, 2023
1 parent 22e69d5 commit b23f985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/poetry/core/masonry/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class Metadata:
metadata_version = "2.1"
# version 1.0
name: NormalizedName | None = None
name: str | None = None
version: str
platforms: tuple[str, ...] = ()
supported_platforms: tuple[str, ...] = ()
Expand Down Expand Up @@ -51,7 +51,7 @@ def from_package(cls, package: Package) -> Metadata:

meta = cls()

meta.name = package.name
meta.name = package.pretty_name
meta.version = package.version.to_string()
meta.summary = package.description
if package.readmes:
Expand Down

0 comments on commit b23f985

Please sign in to comment.