From 4a696123ff296df0e6e7a65df045fcec42dc201d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 17 May 2023 05:54:00 +0200 Subject: [PATCH] Include all files in sdist archives Remove the restriction on files inclduded in sdist archives in order to include documentation sources and tests there. This is the default hatchling behavior and it is helpful to packagers (such as Linux distributions or Conda) as it permits using sdist archives to do packaging (instead of GitHub archives that are not guaranteed to be reproducible). Most of the ordinary users will not be affected since starlette is a pure Python package and therefore pip will prefer wheels to install it everywhere. --- pyproject.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8729cb911..d012cbaa3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,12 +43,6 @@ dependencies = [ Download = "https://pypi.org/project/django-debug-toolbar/" Homepage = "https://github.com/jazzband/django-debug-toolbar" -[tool.hatch.build.targets.sdist] -include = [ - "/debug_toolbar", - "/CONTRIBUTING.md", -] - [tool.hatch.build.targets.wheel] packages = ["debug_toolbar"]