File tree Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Expand file tree Collapse file tree 1 file changed +7
-11
lines changed Original file line number Diff line number Diff line change 7
7
__version__ = '0.0.0'
8
8
9
9
10
- class get_pybind_include (object ):
11
- """Helper class to determine the pybind11 include path
12
- The purpose of this class is to postpone importing pybind11
13
- until it is actually installed, so that the ``get_include()``
14
- method can be invoked. """
10
+ class get_eigen_include (object ):
11
+ """Includes eigen3 path """
15
12
16
13
def __init__ (self , user = False ):
17
14
self .user = user
18
15
19
16
def __str__ (self ):
20
- import pybind11
21
- return pybind11 .get_include (self .user )
17
+ import eigen3
18
+ return eigen3 .get_include (self .user )
22
19
23
20
24
21
KR_module = [
25
22
Extension (
26
23
'KRBalancing' ,
27
24
['src/KRBalancing.cpp' ],
28
25
include_dirs = [
29
- '.' ,
30
- # Path to pybind11 headers
31
- get_pybind_include (),
32
- get_pybind_include (user = True )
26
+ # Path to eigen3 headers
27
+ get_eigen_include (),
28
+ get_eigen_include (user = True )
33
29
],
34
30
language = 'c++'
35
31
),
You can’t perform that action at this time.
0 commit comments