On Jul 12, 2016, at 11:14 AM, Jens Alfke <j...@mooseyard.com> wrote: > > >> On Jul 12, 2016, at 6:45 AM, Jonathan Taylor <jonathan.tay...@glasgow.ac.uk >> <mailto:jonathan.tay...@glasgow.ac.uk>> wrote: >> >> I have had an absolute nightmare trying to build an app that can >> successfully call out to python code. > > Well, that sounds like the real problem to fix! This shouldn’t be difficult > (though I haven’t done it myself.) I assume you’ve already tried the obvious > step of linking with the Python framework, #importing <Python/Python.h>, and > calling the API for running Python (looks like the functions you need are in > pythonrun.h?)
These days you shouldn't/can't link against the Python framework as a framework. See this: <https://developer.apple.com/library/prerelease/content/technotes/tn2328/_index.html>. Regards, Ken
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (Xcode-users@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to arch...@mail-archive.com