Repository navigation
Commit 6fa302b
Take the C extension's include directories from sysconfig
`developer.c-extension` split `python-config --includes` into arguments,
which can't work when the installation path contains spaces, as the
relocated tree's does. That made the check fail on Linux, and on macOS
it repeated `developer.python-config`'s stale shebang failure without
compiling anything. Use the moved interpreter's `sysconfig.get_paths()`
instead, as build tools do; `developer.python-config` still checks
python-config itself.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 13c54f4 commit 6fa302b
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
773 | | - | |
774 | | - | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
775 | 780 | | |
776 | 781 | | |
777 | 782 | | |
| |||
824 | 829 | | |
825 | 830 | | |
826 | 831 | | |
827 | | - | |
| 832 | + | |
828 | 833 | | |
829 | 834 | | |
830 | 835 | | |
| |||
0 commit comments