Skip to content

Commit

Permalink
Include all files in sdist archives
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mgorny committed May 17, 2023
1 parent 202c301 commit 4a69612
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down

0 comments on commit 4a69612

Please sign in to comment.