Skip to content

Commit

Permalink
Fix install with hatchling >= 1.19.0
Browse files Browse the repository at this point in the history
Explicitly specify the top-level package name in order to fix installing
with hatchling >= 1.19.0.  These new versions default to installing
packages that match the project name only, and fail if one cannot
be found.
  • Loading branch information
mgorny committed Dec 15, 2023
1 parent 8efc04d commit 222b4c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,6 @@ known-first-party = ["pelican"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["pelican"]

0 comments on commit 222b4c9

Please sign in to comment.