File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 29
29
popd
30
30
31
31
# Install dependencies
32
- pip install numpy==$NUMPY_VERSION wheel delocate
32
+ pip install numpy==$NUMPY_VERSION wheel delocate setuptools
33
33
34
34
# List installed packages
35
35
pip freeze
Original file line number Diff line number Diff line change 3
3
import platform
4
4
import sys
5
5
import glob
6
- from distutils .unixccompiler import UnixCCompiler
7
6
from setuptools import setup , Extension , find_packages
8
7
from setuptools .command .build_ext import build_ext
9
8
import setuptools
10
9
10
+ from distutils .unixccompiler import UnixCCompiler
11
+
11
12
class get_pybind_include (object ):
12
13
"""Helper class to determine the pybind11 include path
13
14
The purpose of this class is to postpone importing pybind11
@@ -85,7 +86,7 @@ def has_flag(compiler, flagname):
85
86
fname = f .name
86
87
try :
87
88
compiler .compile ([fname ], extra_postargs = [flagname ])
88
- except setuptools .distutils . errors .CompileError :
89
+ except setuptools .errors .CompileError :
89
90
return False
90
91
finally :
91
92
try :
You can’t perform that action at this time.
0 commit comments