File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,9 @@ class get_pybind_include(object):
1313 until it is actually installed, so that the ``get_include()``
1414 method can be invoked. """
1515
16- def __init__ (self , user = False ):
17- self .user = user
18-
1916 def __str__ (self ):
2017 import pybind11
21- return pybind11 .get_include (self . user )
18+ return pybind11 .get_include ()
2219
2320
2421ext_modules = [
@@ -28,7 +25,6 @@ def __str__(self):
2825 include_dirs = [
2926 # Path to pybind11 headers
3027 get_pybind_include (),
31- get_pybind_include (user = True )
3228 ],
3329 language = 'c++'
3430 ),
@@ -106,7 +102,6 @@ def build_extensions(self):
106102 description = 'A test project using pybind11' ,
107103 long_description = '' ,
108104 ext_modules = ext_modules ,
109- install_requires = ['pybind11>=2.4' ],
110105 setup_requires = ['pybind11>=2.4' ],
111106 cmdclass = {'build_ext' : BuildExt },
112107 zip_safe = False ,
You can’t perform that action at this time.
0 commit comments