diff --git a/pyproject.toml b/pyproject.toml index bf745e3..2620d2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,10 +25,6 @@ classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License" ] -include = [ - "LICENSE", - "daffy/py.typed" -] dependencies = [ "pandas>=1.5.1,<3.0.0", @@ -52,6 +48,28 @@ dev = [ requires = ["hatchling>=1.18.0"] build-backend = "hatchling.build" +[tool.hatch.build] +include = [ + "daffy/**/*.py", + "daffy/py.typed", + "pyproject.toml", + "README.md", + "LICENSE", + "docs/**/*", + "tests/**/*", +] +exclude = [ + "mise.toml", + ".gitignore", + ".github/**/*", + ".vscode/**/*", + "**/__pycache__", + "**/*.pyc", +] + +[tool.hatch.build.targets.wheel] +packages = ["daffy"] + [tool.coverage.run] branch = true source = ["daffy"]