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 3
3
import subprocess
4
4
import sys
5
5
import platform
6
- from distutils .command .build_ext import build_ext as _build_ext
7
- from distutils .command .build import build as _build
8
6
9
7
# Make sure the system has the right Python version.
10
8
if sys .version_info [:2 ] < (3 , 7 ):
28
26
try :
29
27
from setuptools import setup
30
28
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
31
31
except ImportError :
32
32
use_setuptools = False
33
33
34
34
if not use_setuptools :
35
35
from distutils .core import setup
36
36
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
37
39
38
40
cmake_opts = [("PYTHON_BIN" , sys .executable ),
39
41
("CMAKE_INSTALL_RPATH_USE_LINK_PATH" , "yes" )]
You can’t perform that action at this time.
0 commit comments