From 8d28e4e7230998dc49aaa6a9e901b40f5573c72f Mon Sep 17 00:00:00 2001 From: Avasam Date: Mon, 13 Jan 2025 22:27:28 -0500 Subject: [PATCH] local imports in _distutils --- stubs/setuptools/setuptools/_distutils/core.pyi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stubs/setuptools/setuptools/_distutils/core.pyi b/stubs/setuptools/setuptools/_distutils/core.pyi index 09f6812b3238..60fcaa81d21f 100644 --- a/stubs/setuptools/setuptools/_distutils/core.pyi +++ b/stubs/setuptools/setuptools/_distutils/core.pyi @@ -1,11 +1,12 @@ from _typeshed import Incomplete, StrOrBytesPath from collections.abc import Iterable, Mapping -from distutils.cmd import Command as Command -from distutils.dist import Distribution as Distribution -from distutils.extension import Extension as Extension from typing import Final, TypedDict, type_check_only from typing_extensions import Unpack +from ..dist import Distribution as Distribution +from ..extension import Extension as Extension +from .cmd import Command as Command + @type_check_only class _SetupArgs(TypedDict, total=False): # total=False for custom Distributions that could accept more arguments name: str