[pypy-commit] pypy tkinter_osx_packaging: OS/X specific header path
kostialopuhin
noreply at buildbot.pypy.org
Thu May 8 18:24:07 CEST 2014
Author: Konstantin Lopuhin <kostia.lopuhin at gmail.com>
Branch: tkinter_osx_packaging
Changeset: r71399:5783d7359f2b
Date: 2014-05-08 18:47 +0400
http://bitbucket.org/pypy/pypy/changeset/5783d7359f2b/
Log: OS/X specific header path
diff --git a/lib_pypy/_tkinter/tklib.py b/lib_pypy/_tkinter/tklib.py
--- a/lib_pypy/_tkinter/tklib.py
+++ b/lib_pypy/_tkinter/tklib.py
@@ -121,6 +121,10 @@
incdirs = []
linklibs = ['tcl85', 'tk85']
libdirs = []
+elif sys.platform == 'darwin':
+ incdirs = ['/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers/']
+ linklibs = ['tcl', 'tk']
+ libdirs = []
else:
incdirs=['/usr/include/tcl']
linklibs=['tcl', 'tk']
More information about the pypy-commit
mailing list