Closed
Description
From @AlexWaygood :
#9460 (comment)
I sort of wonder if we shouldn't just delete the
_distutils
directory from oursetuptools
stubs. The frequency of the changes to that directory (and the leading underscore in the name) indicates to me that the maintainers see the whole directory as an implementation detail, and it just causes work for us to keep the directory up to date. I'm also not sure it's very useful keeping the directory around for type-checking purposes, sincesetuptools
does some terribleimportlib
hack so that you can import the directory just by doingimport distutils
at runtime -- so there's little reason to ever import anything fromsetuptools._distutils
directly.
(also distutils being deprecated)