[Pythonmac-SIG] building extensions for 2.3 (darwin build), and UUID generation

Bob Ippolito bob at redivi.com
Wed Dec 31 12:24:57 EST 2003


On Dec 31, 2003, at 11:51 AM, Paul Miller wrote:

> Two questions here, as I have just started working with 2.3 on OS X.
>
> The "old way" (ie. with CFM MacPython) to make extension modules was 
> to build a shared library, but I don't see a shared library option for 
> the Mach-O stationary, so I can only assume I need to build a 
> Framework. I haven't done this yet - can someone point me to some 
> documentation on how to build extension modules for the Mach-O Python?
>
> I can avoid the previous step if there is a standard Mac-specific 
> module I can use to generate UUIDs (using the CFUUIDCreate API). Does 
> such a beast exist?

Here's an option:

http://www.quecheesoftware.com/downloads/UUID.html

You can use PyObjC to load this framework dynamically.  I took a quick 
look at the headers and it looks like all the selectors you would need 
should bridge perfectly.

-bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20031231/68399e77/smime.bin


More information about the Pythonmac-SIG mailing list