bpo-36146: Fix inc_dirs in setup.py on macOS#12098
bpo-36146: Fix inc_dirs in setup.py on macOS#12098vstinner merged 1 commit intopython:masterfrom vstinner:refactor_setup_py4
Conversation
Fix setup.py on macOS: only add /usr/include/ffi to include directories of _ctypes, not for all extensions.
|
@ned-deily: Would you mind to review this change? |
|
IMHO it's safe to apply this bugfix to 2.7 and 3.7. |
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.7. |
|
Sorry, @vstinner, I could not cleanly backport this to |
|
Sorry, @vstinner, I could not cleanly backport this to |
|
I wrote the backport for 2.7 and 3.7... but then I changed my mind. Honestly, since the bug exists since Python 2.7 at least, I don't think that it's really important to fix it. I prefer to not touch setup.py to avoid any risk of regression. |
|
Fix setup.py on macOS: only add /usr/include/ffi to include
directories of _ctypes, not for all extensions.
https://bugs.python.org/issue36146