diff --git a/CHANGES/10860.packaging.rst b/CHANGES/10860.packaging.rst new file mode 100644 index 00000000000..be4043f4065 --- /dev/null +++ b/CHANGES/10860.packaging.rst @@ -0,0 +1,2 @@ +Excluded generated Cython :file:`.hash/` directories from source distributions and wheels. +-- by :user:`nightcityblade`. diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 7c5613648ca..23d3fdcff08 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -283,6 +283,7 @@ Moss Collum Mun Gwan-gyeong Navid Sheikhol Nicolas Braem +Nightcity Blade Nikolay Kim Nikolay Novik Nikolay Tiunov diff --git a/MANIFEST.in b/MANIFEST.in index ea5d39d4722..787143a1e70 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -17,5 +17,6 @@ global-exclude *.lib global-exclude *.dll global-exclude *.a global-exclude *.obj +recursive-exclude aiohttp .hash/* exclude aiohttp/*.html prune docs/_build diff --git a/pyproject.toml b/pyproject.toml index 7ad4f54b0c3..81779a70482 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -86,7 +86,7 @@ include = [ ] [tool.setuptools.exclude-package-data] -"*" = ["*.c", "*.h"] +"*" = ["*.c", "*.h", ".hash/*"] [tool.towncrier] package = "aiohttp"