File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change 33 History
44-------
55
6+ 2.3.0
7+ ++++++++++++++++++
8+
9+ * ``distutils `` is no longer used for building the C extension.
10+
6112.2.0 (2021-09-24)
712++++++++++++++++++
813
Original file line number Diff line number Diff line change 55# This import is apparently needed for Nose on Red Hat's Python
66import multiprocessing
77
8- from distutils .command .build_ext import build_ext
9- from distutils .errors import CCompilerError , DistutilsExecError , DistutilsPlatformError
10-
118from setuptools import setup , Extension
9+ from setuptools .command .build_ext import build_ext
10+
11+ # These were only added to setuptools in 59.0.1.
12+ try :
13+ from setuptools .errors import CCompilerError
14+ from setuptools .errors import DistutilsExecError
15+ from setuptools .errors import DistutilsPlatformError
16+ except ImportError :
17+ from distutils .errors import CCompilerError
18+ from distutils .errors import DistutilsExecError
19+ from distutils .errors import DistutilsPlatformError
1220
1321cmdclass = {}
1422PYPY = hasattr (sys , "pypy_version_info" )
You can’t perform that action at this time.
0 commit comments