From 2b941b38b403bc5b7a6d065e57c972937ccf40ee Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Sun, 7 May 2017 12:19:19 -0400 Subject: [PATCH] Add missing header to setup.py --- CMakeLists.txt | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8af2f4195..ee2d0fdf2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/setup.py b/setup.py index 0cf4e47ce..517818e72 100644 --- a/setup.py +++ b/setup.py @@ -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',