Commit d3f5afd
committed
Python: Allow source dists to install correctly
When a source distribution is installed, PEP 517 will cause pybind11 to be installed in a temporary location at build time.
https://martin-thoma.com/pyproject-toml/
Unfortunately when pybind11 is temporarily installled, it infers the wrong include path. This includes a workaround. Hopefully when that issue is fixed the workaround can be removed:
pybind/pybind11#1067
I’ve also posted the workaround here:
pybind/python_example#451 parent ef5bb4c commit d3f5afd
File tree
188 files changed
+88
-39653
lines changed- pybind11
- docs
- _static
- advanced
- cast
- pycpp
- include/pybind11
- detail
- pybind11
- tests
- test_cmake_build
- installed_embed
- installed_function
- installed_target
- subdirectory_embed
- subdirectory_function
- subdirectory_target
- test_embed
- tools
- python
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
188 files changed
+88
-39653
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments