Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a2dd5ff

Browse files
committedOct 22, 2024·
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

Lines changed: 3 additions & 1 deletion
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)
Please sign in to comment.