-
-
Notifications
You must be signed in to change notification settings - Fork 34k
bpo-36146: Fix inc_dirs in setup.py on macOS #12098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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