mirror of https://github.com/mamba-org/mamba.git
fix include path
This commit is contained in:
parent
81f654cb49
commit
6e03effabd
7
setup.py
7
setup.py
|
@ -25,12 +25,11 @@ ext_modules = [
|
|||
'mamba.mamba_api',
|
||||
['include/py_interface.cpp', 'include/parsing.cpp', 'include/solver.cpp', 'include/thirdparty/simdjson/simdjson.cpp'],
|
||||
include_dirs=[
|
||||
# Path to pybind11 headers
|
||||
os.path.join(sys.prefix, '/include/'),
|
||||
os.path.join(sys.prefix, 'include/'),
|
||||
get_pybind_include(),
|
||||
get_pybind_include(user=True)
|
||||
],
|
||||
library_dirs=[os.path.join(sys.prefix, '/lib/')],
|
||||
library_dirs=[os.path.join(sys.prefix, 'lib/')],
|
||||
libraries=['solv'],
|
||||
language='c++'
|
||||
),
|
||||
|
@ -88,4 +87,4 @@ setup(
|
|||
install_requires=['pybind11>=2.2'],
|
||||
cmdclass={'build_ext': BuildExt},
|
||||
zip_safe=False,
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue