mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-13 16:54:45 +03:00
adds option to ignore TCL/Tk framework installs on OS X
This commit is contained in:
parent
c95de4e61f
commit
e9c4ee3354
3
setup.py
3
setup.py
|
@ -580,7 +580,8 @@ class pil_build_ext(build_ext):
|
|||
"PIL._webp", ["_webp.c"], libraries=libs, define_macros=defs))
|
||||
|
||||
if feature.tcl and feature.tk:
|
||||
if sys.platform == "darwin":
|
||||
if (sys.platform == "darwin" and
|
||||
os.environ.get('IGNORE_OSX_TCLTK_FRAMEWORKS', False)==False):
|
||||
# locate Tcl/Tk frameworks
|
||||
frameworks = []
|
||||
framework_roots = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user