Skip to content

Commit

Permalink
chore(build): fix sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Dec 13, 2024
1 parent fb6875b commit e3889fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions differt-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,11 @@ requires-python = ">= 3.9"
[tool.maturin]
bindings = "pyo3"
features = ["pyo3/extension-module"]
include = [
{path = "src/**/*", format = "sdist"},
{path = "LICENSE.md", format = "sdist"},
{path = "README.md", format = "sdist"},
]
module-name = "differt_core._lowlevel"
python-source = "python"
strip = true
4 changes: 4 additions & 0 deletions differt/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ exclude = [
"tests",
]

[tool.hatch.build.targets.sdist.force-include]
"../LICENSE.md" = "LICENSE.md"
"../README.md" = "README.md"

[tool.hatch.build.targets.wheel]
exclude = [
"conftest.py",
Expand Down

0 comments on commit e3889fb

Please sign in to comment.