We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
distutils
benchmarks/setup.py
1 parent b8f3305 commit 5e96f82Copy full SHA for 5e96f82
benchmarks/setup.py
@@ -2,10 +2,7 @@
2
import shutil
3
import subprocess
4
import sys
5
-
6
-# TODO: update once there is replacement for clean:
7
-# https://github.com/pypa/setuptools/discussions/2838
8
-from distutils import log # pylint: disable=[deprecated-module]
+import logging
9
10
from setuptools import setup, Extension, find_packages
11
from setuptools.command.build_ext import build_ext as _build_ext
@@ -38,7 +35,7 @@ def run(self):
38
35
self.build_extension()
39
36
40
37
def check_call(self, *popenargs, **kwargs):
41
- log.info(" ".join(popenargs[0]))
+ logging.info(" ".join(popenargs[0]))
42
if not self.dry_run:
43
subprocess.check_call(*popenargs, **kwargs)
44
0 commit comments