Restrict sdist files in Hatch
DELETE
MANIFEST.in
-include README.md CHANGES.rst LICENSE.txt dev-requirements.txt Makefile src/urllib3/py.typed
-recursive-include dummyserver *
-recursive-include test *
-recursive-include docs *
-recursive-exclude docs/_build *

MODIFY
pyproject.toml
pyproject.toml
@@ -64,3 +64,15 @@ socks = [
[tool.hatch.version]
path = "src/urllib3/_version.py"
+
+[tool.hatch.build.targets.sdist]
+include = [
+ "/docs",
+ "/dummyserver",
+ "/src",
+ "/test",
+ "/dev-requirements.txt",
+ "/CHANGES.rst",
+ "/README.md",
+ "/LICENSE.txt",
+]

Restrict sdist files in Hatch

Co-authored-by: Quentin Pradet <quentin.pradet@gmail.com>