Skip to content

Commit

Permalink
Enable back setuptools automatic discovery
Browse files Browse the repository at this point in the history
This reverts commit 8a5fa22, which was
introduced as a workaround for an issue RPM build system
(rpm-software-management/rpm#2532) but now
poses problems with recent setuptools versions that warn about missing
packages: #411

Now that the RPM issue got resolved, it seems safe to get back to
automatic discovery as this resolves the later issue in a more
future-proof way than explicitly listing packages.
  • Loading branch information
dlax committed Apr 3, 2024
1 parent 4442ee3 commit edc9826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ Homepage = "https://github.com/dalibo/pg_activity"
[tool.setuptools.dynamic]
version = { attr = "pgactivity.__version__" }

[tool.setuptools]
packages = ["pgactivity"]
[tool.setuptools.packages.find]
where = ["."]

[tool.black]
line-length = 88
Expand Down

0 comments on commit edc9826

Please sign in to comment.