File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 3535import winreg
3636from collections .abc import MutableSequence
3737from pathlib import Path
38- from tempfile import gettempdir
39- from typing import TYPE_CHECKING , Iterable
40-
4138from setuptools import Extension , setup
39+ from setuptools ._distutils import ccompiler
4240from setuptools .command .build import build
4341from setuptools .modified import newer_group
44- from setuptools ._distutils import ccompiler
42+ from tempfile import gettempdir
43+ from typing import TYPE_CHECKING , Iterable
4544
4645# We must import from distutils directly at runtime
4746# But this prevents typing issues across Python 3.11-3.12
@@ -67,8 +66,9 @@ def my_new_compiler(**kw):
6766ccompiler .new_compiler = my_new_compiler # type: ignore[assignment] # Assuming the caller will always use only kwargs
6867
6968
70- from setuptools .command .build_ext import build_ext # noqa: E402 # This has to be imported AFTER the compiler hack
71-
69+ from setuptools .command .build_ext import (
70+ build_ext , # noqa: E402 # This has to be imported AFTER the compiler hack
71+ )
7272
7373build_id_patch = build_id
7474if "." not in build_id_patch :
You can’t perform that action at this time.
0 commit comments