diff --git a/pyproject.toml b/pyproject.toml index ff1e730dd7..a19d4ac164 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -210,6 +210,10 @@ exclude = [ ] namespaces = true +[tool.setuptools.exclude-package-data] +# Remove ruff.toml when installing vendored packages (#4652) +"*" = ["ruff.toml"] + [tool.distutils.sdist] formats = "zip"