diff --git a/setup.py b/setup.py index 8cca3612c..3ed728449 100644 --- a/setup.py +++ b/setup.py @@ -3,11 +3,11 @@ import os import sys import traceback -from distutils.ccompiler import CCompiler -from distutils.errors import DistutilsPlatformError from multiprocessing.pool import ThreadPool from setuptools import Extension, find_packages, setup +from setuptools._distutils.ccompiler import CCompiler +from setuptools._distutils.errors import DistutilsPlatformError from setuptools.command.build_ext import build_ext if os.name == 'nt':