>At 13:43 -0700 2008/05/14, Michael VanLandingham wrote:
>>If you're not using Xcode, and instead are using gcc on the command line or
>>makefile, then you need to add the right flags so that it can find the
>>framework, etc.
>
>The Python framework that ships with OS X is already in the search p
On May 14, 2008, at 2:43 PM, Michael VanLandingham wrote:
gcc on the command line or makefile, then you need to add the right
flags so that it can find the framework
The Python framework that ships with OS X is already in the search
path, so all you'd need is
-framework Python
added t
If you're using Xcode, you just #include in your
source file, then add the Python framework to your project (in Xcode,
right click on your project file in the "Groups & Files" pane, select
"Add->Existing Frameworks..."). You might need to configure the build
rules to make sure the right v
At 10:53 +0100 2008/04/05, Matthias Baas wrote:
>Just for the record, the distutils have a function that returns the include
>path:
> >>>import distutils.sysconfig
> >>>distutils.sysconfig.get_python_inc()
>
>So if you really need to know the include path for some reason, you should us
[EMAIL PROTECTED] wrote:
> Feat> I've carefully read the section about building extensions, ...
> Feat> but this doesn't tell me how to locate the right Python header
> Feat> file...
>
> Distutils takes care of that for you. All you should need to do is
>
> #include "Python.h"
>
At 08:48 -0500 2008/04/04, [EMAIL PROTECTED] wrote:
>Distutils takes care of that for you. All you should need to do is #include
>"Python.h" in your source.
Okay, I'll try that again: thank you so much.
--
Jym Feat ~ Paris FR 75018
___
Pythonmac-SIG
Feat> I've carefully read the section about building extensions, ...
Feat> but this doesn't tell me how to locate the right Python header
Feat> file...
Distutils takes care of that for you. All you should need to do is
#include "Python.h"
in your source. As you concluded, the
At 03:57 -0700 2008/04/04, Ronald Oussoren wrote:
>Use distutils to build python extensions
Thanks Ronald: I've carefully read the section about building extensions, i.e.
[http://docs.python.org/inst/tweak-flags.html ], but this doesn't tell me how
to locate the right Python header file, so I'm
On Friday, April 04, 2008, at 11:53AM, "Feat" <[EMAIL PROTECTED]> wrote:
>
>What's the best way to clean up that mess?
>
>Can somebody help me?
Use distutils to build python extensions (see the documentation on
www.python.org to learn how to do that). This has two advantages over manually
buil
Hello: I need help to locate Python.h for including in a C program which I will
turn into a module.
The problem is I've accumulated 5 files with that name over the years:
/Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/Python.h
/Develope
10 matches
Mail list logo