470,810 Members | 866 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

os x framework tcl/tk headers


I am using distutils on a darwin 10.3 OS X machine to install a
python package which needs to find the tcl/tk headers to compile. On
my system those headers are located at

/Library/Frameworks/Tcl.framework/Versions/8.4/Headers/tcl.h
/Library/Frameworks/Tk.framework/Versions/8.4/Headers/tk.h

For linking, I have found the following helpful

framework = ['-framework','Tcl', '-framework', 'Tk']
module.extra_link_args.extend(framework)

Is there an analog to help distutils find the headers, eg, the
equivalent for module.extra_compile_args or module.include_dirs? I
know I can add them manually for a specific include path. My question
is: is there a way to use the framework to add the appropriate flags
in a distutils build environment to find these headers automagically?

Thanks!
JDH
Jul 18 '05 #1
0 1041

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

71 posts views Thread by Christopher Benson-Manica | last post: by
1 post views Thread by Jim in Arizona | last post: by
11 posts views Thread by xenophon | last post: by
3 posts views Thread by mehdi_mousavi | last post: by
16 posts views Thread by chaz | last post: by
15 posts views Thread by Phillip B Oldham | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.