Skip to content

Commit

Permalink
Extends the contents of source distributions
Browse files Browse the repository at this point in the history
Note that its seemingly hatchling that always adds .gitignore files.

Closes #73.
  • Loading branch information
funkyfuture committed Sep 22, 2024
1 parent 07e4120 commit 9bc0732
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ dist/
*.egg-info/
.idea/
.mypy_cache/
*.orig
pip-wheel-metadata/
.pytest_cache/
# in tests/files ; but hatchling doesn't consider a .gitignore there
.result.xml
16 changes: 15 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,21 @@ rst-roles = "attr,class,doc,exc,func,meth,obj,ref,term"
#

[tool.hatch.build.targets.sdist]
only-include = ["_delb", "delb", "CITATION.cff"]
only-include = [
"benchmarks",
"_delb",
"delb",
"docs",
"tests",
".editorconfig",
"CHANGES.rst",
"CITATION.cff",
"delb_logo.svg",
"Justfile",
"LICENSE.txt",
"pyproject.toml",
"README.rst",
]

[tool.hatch.build.targets.wheel]
packages = ["_delb", "delb"]
Expand Down
1 change: 0 additions & 1 deletion tests/files/.gitignore

This file was deleted.

0 comments on commit 9bc0732

Please sign in to comment.