Skip to content

Commit 35a75e8

Browse files
committed
Ensure test files for macos_libfile are added to sdist
1 parent 8a853d9 commit 35a75e8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ recursive-include pkg_resources *.py *.txt
77
recursive-include pkg_resources/tests/data *
88
recursive-include tools *
99
recursive-include newsfragments *
10+
graft setuptools/tests/macosx_libfile/
1011
include *.py
1112
include *.rst
1213
include MANIFEST.in

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,10 @@ exclude = [
208208
namespaces = true
209209

210210
[tool.setuptools.exclude-package-data]
211-
# Remove ruff.toml when installing vendored packages (#4652)
212-
"*" = ["ruff.toml"]
211+
"*" = [
212+
"ruff.toml", # Remove ruff.toml when installing vendored packages (#4652)
213+
"*.dylib", # Avoid distributing obscure binary test files for macos_libfile in wheel (#4965)
214+
]
213215

214216
[tool.distutils.sdist]
215217
formats = "zip"

0 commit comments

Comments
 (0)