Skip to content

Commit a2dd5ff

Browse files
committed
Remove deprecated distutils
1 parent 34a2ec6 commit a2dd5ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
import subprocess
55
import sys
66
import traceback
7-
from distutils import log
7+
from logging import getLogger
88
from pathlib import Path
99

1010
from setuptools import find_namespace_packages, setup
1111
from setuptools.command.develop import develop
1212
from setuptools.command.sdist import sdist
1313

14+
log = getLogger(__name__)
15+
1416
# -----------------------------------------------------------------------------
1517
# Basic Constants
1618
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)