Skip to content
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

bpo-39162 fix a logic bug in the Tcl/Tk include scanner for macOS in setup.py #17753

Open
wants to merge 3 commits into
base: master
from

Conversation

@tonybaloney
Copy link
Contributor

tonybaloney commented Dec 30, 2019

tonybaloney added 2 commits Dec 30, 2019
…ested for existence, it's then later added to the include
for fw in 'Tcl', 'Tk':
if is_macosx_sdk_path(F):
if not exists(join(sysroot, F[1:], fw + '.framework')):

This comment has been minimized.

Copy link
@tonybaloney

tonybaloney Dec 30, 2019

Author Contributor

Currently, this condition would match, because in macOS 10.15 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Tk.framework exists, however, F is not the path that it's checking, so it adds /System/Library/Frameworks/Tk.framework to the list of include_dirs

@tonybaloney

This comment has been minimized.

Copy link
Contributor Author

tonybaloney commented Dec 30, 2019

Wow, this function hasn't been touched in a really long time. requesting reviews from @ned-deily and @brettcannon

@ned-deily ned-deily self-assigned this Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.