mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
Add missing header to setup.py
This commit is contained in:
parent
271b27ff18
commit
2b941b38b4
@ -34,6 +34,7 @@ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} CACHE INTERNAL "")
|
|||||||
set(PYTHON_MODULE_PREFIX ${PYTHON_MODULE_PREFIX} CACHE INTERNAL "")
|
set(PYTHON_MODULE_PREFIX ${PYTHON_MODULE_PREFIX} CACHE INTERNAL "")
|
||||||
set(PYTHON_MODULE_EXTENSION ${PYTHON_MODULE_EXTENSION} CACHE INTERNAL "")
|
set(PYTHON_MODULE_EXTENSION ${PYTHON_MODULE_EXTENSION} CACHE INTERNAL "")
|
||||||
|
|
||||||
|
# NB: when adding a header don't forget to also add it to setup.py
|
||||||
set(PYBIND11_HEADERS
|
set(PYBIND11_HEADERS
|
||||||
include/pybind11/attr.h
|
include/pybind11/attr.h
|
||||||
include/pybind11/buffer_info.h
|
include/pybind11/buffer_info.h
|
||||||
|
1
setup.py
1
setup.py
@ -13,6 +13,7 @@ if os.environ.get('PYBIND11_USE_CMAKE'):
|
|||||||
else:
|
else:
|
||||||
headers = [
|
headers = [
|
||||||
'include/pybind11/attr.h',
|
'include/pybind11/attr.h',
|
||||||
|
'include/pybind11/buffer_info.h',
|
||||||
'include/pybind11/cast.h',
|
'include/pybind11/cast.h',
|
||||||
'include/pybind11/chrono.h',
|
'include/pybind11/chrono.h',
|
||||||
'include/pybind11/class_support.h',
|
'include/pybind11/class_support.h',
|
||||||
|
Loading…
Reference in New Issue
Block a user