mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
Add pybind11/compat/README.txt to wheels.
This commit is contained in:
parent
9aabe52e44
commit
a0eb9f398d
@ -51,6 +51,7 @@ main_headers = {
|
||||
}
|
||||
|
||||
compat_headers = {
|
||||
"include/pybind11/compat/README.txt",
|
||||
"include/pybind11/compat/pybind11_conduit_v1.h",
|
||||
"include/pybind11/compat/pybind11_platform_abi_id.h",
|
||||
"include/pybind11/compat/wrap_include_python_h.h",
|
||||
|
@ -26,7 +26,8 @@ class InstallHeadersNested(install_headers):
|
||||
|
||||
|
||||
main_headers = glob.glob("pybind11/include/pybind11/*.h")
|
||||
compat_headers = glob.glob("pybind11/include/pybind11/compat/*.h")
|
||||
compat_headers = sum([glob.glob(f"pybind11/include/pybind11/compat/*.{ext}")
|
||||
for ext in ("h", "txt")], [])
|
||||
detail_headers = glob.glob("pybind11/include/pybind11/detail/*.h")
|
||||
eigen_headers = glob.glob("pybind11/include/pybind11/eigen/*.h")
|
||||
stl_headers = glob.glob("pybind11/include/pybind11/stl/*.h")
|
||||
|
@ -24,7 +24,7 @@ setup(
|
||||
package_data={
|
||||
"pybind11": ["py.typed"],
|
||||
"pybind11.include.pybind11": ["*.h"],
|
||||
"pybind11.include.pybind11.compat": ["*.h"],
|
||||
"pybind11.include.pybind11.compat": ["*.h", "*.txt"],
|
||||
"pybind11.include.pybind11.detail": ["*.h"],
|
||||
"pybind11.include.pybind11.eigen": ["*.h"],
|
||||
"pybind11.include.pybind11.stl": ["*.h"],
|
||||
|
Loading…
Reference in New Issue
Block a user