File tree 2 files changed +6
-7
lines changed
2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
- from .compilers .C import base
2
- from .compilers .C .base import (
3
- # `_default_compilers` is needed by numpy.distutils, which is supported until
4
- # Python 3.11 is deprecated. This import & export can be removed when
5
- # Python 3.11 is no longer supported by distutils.
1
+ from .compat .numpy import ( # noqa: F401
6
2
_default_compilers ,
7
3
compiler_class ,
4
+ )
5
+ from .compilers .C import base
6
+ from .compilers .C .base import (
8
7
gen_lib_options ,
9
8
gen_preprocess_options ,
10
9
get_default_compiler ,
16
15
__all__ = [
17
16
'CompileError' ,
18
17
'LinkError' ,
19
- '_default_compilers' ,
20
- 'compiler_class' ,
21
18
'gen_lib_options' ,
22
19
'gen_preprocess_options' ,
23
20
'get_default_compiler' ,
Original file line number Diff line number Diff line change
1
+ # required for older numpy versions on Pythons prior to 3.12; see pypa/setuptools#4876
2
+ from ..compilers .C .base import _default_compilers , compiler_class
You can’t perform that action at this time.
0 commit comments