osx - Python includes files on Lion? -
where have been includes files of python in lion ? located @ "/system/library/frameworks/python.framework/versions/2.6/include/python2.6" there 1 files in there : "pyconfig.h"
is same on system ?
thanks.
on os x 10.7, include
files apple-supplied pythons linked locations within /system/library/frameworks
when install xcode 4
. find find them in /developer/sdks
included xcode
, example:
/developer/sdks/macosx10.7.sdk/system/library/frameworks/python.framework/versions/2.7/include/python2.7
by way, canonical way find location of python's include
files use python-config
command associated python instance using:
$ /usr/bin/python2.7-config --include -i/system/library/frameworks/python.framework/versions/2.7/include/python2.7 -i/system/library/frameworks/python.framework/versions/2.7/include/python2.7
update: answered include
files found in sdk location. remembered that, due nasty bug, had had reinstall 10.7 lion on same partition , doing wiped out links initial xcode 4
install had made. after re-installing xcode 4
should be. keep in mind if have reinstall lion.
Comments
Post a Comment