Skip to content

Should we delete the _distutils directory from our setuptools stubs ? #9520

Closed
@Avasam

Description

@Avasam

From @AlexWaygood :
#9460 (comment)

I sort of wonder if we shouldn't just delete the _distutils directory from our setuptools 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, since setuptools does some terrible importlib hack so that you can import the directory just by doing import distutils at runtime -- so there's little reason to ever import anything from setuptools._distutils directly.

(also distutils being deprecated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    project: policyOrganization of the typeshed project

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions