File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
22
print ("Value {} for USE_DISTUTILS treated as False" .
23
23
format (use_distutils ))
24
24
25
+ from distutils .command .build import build as _build
26
+
25
27
if use_setuptools :
26
28
try :
27
29
from setuptools import setup
28
30
from setuptools .command .install import install as _install
29
31
from setuptools .command .build_ext import build_ext as _build_ext
30
- from setuptools .command .build import build as _build
31
32
except ImportError :
32
33
use_setuptools = False
33
34
34
35
if not use_setuptools :
35
36
from distutils .core import setup
36
37
from distutils .command .install import install as _install
37
38
from distutils .command .build_ext import build_ext as _build_ext
38
- from distutils .command .build import build as _build
39
39
40
40
cmake_opts = [("PYTHON_BIN" , sys .executable ),
41
41
("CMAKE_INSTALL_RPATH_USE_LINK_PATH" , "yes" )]
You can’t perform that action at this time.
0 commit comments