diff --git a/.gitignore b/.gitignore index 7b979078..720c1e9c 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/pyproject.toml b/pyproject.toml index a64fca23..b95890cc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"] diff --git a/tests/files/.gitignore b/tests/files/.gitignore deleted file mode 100644 index 5ce8093f..00000000 --- a/tests/files/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.result.xml