Skip to content

Commit f93173d

Browse files
author
Leily Rabbani
committed
Removign eigen from the kr folder
1 parent f4abad4 commit f93173d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

setup.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,25 @@
77
__version__ = '0.0.0'
88

99

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 """
1512

1613
def __init__(self, user=False):
1714
self.user = user
1815

1916
def __str__(self):
20-
import pybind11
21-
return pybind11.get_include(self.user)
17+
import eigen3
18+
return eigen3.get_include(self.user)
2219

2320

2421
KR_module = [
2522
Extension(
2623
'KRBalancing',
2724
['src/KRBalancing.cpp'],
2825
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)
3329
],
3430
language='c++'
3531
),

0 commit comments

Comments
 (0)