summaryrefslogtreecommitdiff
path: root/distutils/command/install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-11-13 14:34:49 -0500
committerGitHub <noreply@github.com>2022-11-13 14:34:49 -0500
commite0787fad7c03d8defbbaaaf2888130cc2a171537 (patch)
treed289cb094cfeff46c97b1335099283fa0ba61f96 /distutils/command/install.py
parentf95d384957ba4c358c6e1345c932b4445a4a38d3 (diff)
parentd763948a0508fddcfb9cc723bc95e133e99f8279 (diff)
downloadpython-setuptools-git-e0787fad7c03d8defbbaaaf2888130cc2a171537.tar.gz
Merge pull request #183 from pypa/debt/logging
Replace bespoke logging facility with logging module
Diffstat (limited to 'distutils/command/install.py')
-rw-r--r--distutils/command/install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/distutils/command/install.py b/distutils/command/install.py
index 9db4ad99..08d2f881 100644
--- a/distutils/command/install.py
+++ b/distutils/command/install.py
@@ -8,7 +8,7 @@ import contextlib
import sysconfig
import itertools
-from distutils import log
+from distutils._log import log
from ..core import Command
from ..debug import DEBUG
from ..sysconfig import get_config_vars
@@ -644,7 +644,7 @@ class install(Command):
self.extra_path = self.distribution.extra_path
if self.extra_path is not None:
- log.warn(
+ log.warning(
"Distribution option extra_path is deprecated. "
"See issue27919 for details."
)