from sysconfig import _fix_pcbuild
warnings.warn(
- 'the distutils.sysconfig module is deprecated, use sysconfig instead',
+ 'The distutils.sysconfig module is deprecated, use sysconfig instead',
DeprecationWarning,
stacklevel=2
)
with warnings.catch_warnings():
# bpo-41282 (PEP 632) deprecated distutils but setup.py still uses it
- warnings.filterwarnings("ignore", "The distutils package is deprecated",
- DeprecationWarning)
+ warnings.filterwarnings(
+ "ignore",
+ "The distutils package is deprecated",
+ DeprecationWarning
+ )
+ warnings.filterwarnings(
+ "ignore",
+ "The distutils.sysconfig module is deprecated, use sysconfig instead",
+ DeprecationWarning
+ )
from distutils import log
from distutils.command.build_ext import build_ext