From https://github.com/python-pillow/Pillow/pull/7484#issuecomment-1780901699: Pillow still needs it for building C extensions with setuptools, but pure Python projects can drop both setup.py and setup.cfg for a single pyproject.toml.
> On Jan 23, 2025, at 12:03 PM, Matthias Klose <d...@debian.org> wrote: > > On 23.01.25 08:58, Rebecca N. Palmer wrote: >> The build log shows that the .so files are getting installed but the .py >> files (including Image.py, hence this error) aren't. >> The Debian build includes 'rm pyproject.toml', so this *might* mean upstream >> has started putting something essential in there. > > yes, but they left the setup.py ... which doesn't work with the > pyproject.toml. anyway, that package needs a proper packaging update ... >