building Python extensions with XCode

B

Benjamin Golinvaux

Dear list members,

I am experienced at building and debugging Python extension DLLs under
Windows, but I would like to do the same using my Mac.

I would like to know how i can create a library that is recognized as
as Python extension. I know i could use distutils with a setup.py
file, but i would like to exactly understand what's going on wrt
compiler flags, etc....

Also, i would like to be able to debug my extension using XCode. I
know that, under Windows, one needs to use a debug build of Python to
run debug extensions, and that the _d suffix needs to be appended to
the extension name for it to be loaded by python_d. Is it specific to
Window or is it the same under Mac OS X as well ?

Thanks so much for your help. I've googled quite hard for this answer
but couldn't find a simple tutorial.

Best

Benjamin Golinvaux
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top