Add missing header to setup.py

This commit is contained in:
Jason Rhinelander 2017-05-07 12:19:19 -04:00
parent 271b27ff18
commit 2b941b38b4
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ set(PYTHON_LIBRARIES ${PYTHON_LIBRARIES} CACHE INTERNAL "")
set(PYTHON_MODULE_PREFIX ${PYTHON_MODULE_PREFIX} 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
include/pybind11/attr.h
include/pybind11/buffer_info.h

View File

@ -13,6 +13,7 @@ if os.environ.get('PYBIND11_USE_CMAKE'):
else:
headers = [
'include/pybind11/attr.h',
'include/pybind11/buffer_info.h',
'include/pybind11/cast.h',
'include/pybind11/chrono.h',
'include/pybind11/class_support.h',