Skip to content

Commit

Permalink
Specify the directory to use for the package in pyproject.toml.
Browse files Browse the repository at this point in the history
setuptools attempts to discern what directories need to be part
of the package automatically, but apparently it gets easily confused,
so this change explicitly sets it.

This fixes #81.
  • Loading branch information
dpranke committed Apr 12, 2024
1 parent 0f1d8e8 commit c9b92a7
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 @@ -39,5 +39,8 @@ line-length = 79
[tool.ruff.format]
quote-style = "single"

[tool.setuptools]
packages = [ "json5" ]

[tool.setuptools.dynamic]
version = {attr = "json5.__version__"}

0 comments on commit c9b92a7

Please sign in to comment.