File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 33import subprocess
44import sys
55import platform
6- from distutils .command .build_ext import build_ext as _build_ext
7- from distutils .command .build import build as _build
86
97# Make sure the system has the right Python version.
108if sys .version_info [:2 ] < (3 , 7 ):
2826 try :
2927 from setuptools import setup
3028 from setuptools .command .install import install as _install
29+ from setuptools .command .build_ext import build_ext as _build_ext
30+ from setuptools .command .build import build as _build
3131 except ImportError :
3232 use_setuptools = False
3333
3434if not use_setuptools :
3535 from distutils .core import setup
3636 from distutils .command .install import install as _install
37+ from distutils .command .build_ext import build_ext as _build_ext
38+ from distutils .command .build import build as _build
3739
3840cmake_opts = [("PYTHON_BIN" , sys .executable ),
3941 ("CMAKE_INSTALL_RPATH_USE_LINK_PATH" , "yes" )]
You can’t perform that action at this time.
0 commit comments