We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab1eeb commit cbcd269Copy full SHA for cbcd269
setup.py
@@ -144,6 +144,7 @@ def remove_output(*sources: str) -> Iterator[None]:
144
stdout=sys.stdout,
145
stderr=sys.stderr,
146
)
147
+ Path("pybind11/share/cmake/pybind11/__init__.py").touch()
148
149
txt = get_and_replace(setup_py, version=version, extra_cmd=extra_cmd)
150
code = compile(txt, setup_py, "exec")
tools/setup_main.py.in
@@ -38,6 +38,9 @@ setup(
38
],
39
"pipx.run": [
40
"pybind11 = pybind11.__main__:main",
41
+ ],
42
+ "cmake.modules": [
43
+ "pybind11 = pybind11.share.cmake.pybind11",
44
]
45
},
46
cmdclass=cmdclass
0 commit comments