[Stackless] Stackless on Mac OSX

Christian Tismer tismer at stackless.com
Tue Aug 7 16:20:02 CEST 2007

Answering myself after solving this.

I'm currently using the head revision of Stackless, that's
even above Python 2.5. But it seems to work.

First, compiling extensions is a bit problematic
with Stackless' current layout of its include files.
If stackless ist just built and not installed and you
try to build an extension, you get complaints because stackless.h is  
not found.

We should do something about that at some time.
Right now, the easy way out was to make install,
because then the includes are right.

Another thing was that I did not know how to install
PyObjC other than though the provided package.

What I did was a bit crude but just worked:
Putting some symlinks from the already installed PyObjC
to the stackless site-packages just did the job.
There are complaints about API version which I ignored.

This is all not recommended for production code, but
was good enough to try out some PyGame stackless demos.

cheers - chris   (yes this is a hack)

On Aug 7, 2007, at 3:42 AM, Christian Tismer wrote:

> Hi friends,
> I'd like to build Stackless applications om OS X, using PyGame.
> But this seems to require a more Mac-specific build as I thought,
> before. Especially importing PyGame seems to pull in all
> of PyObjC. At least I tried to import stuff by tweaking sys.path
> to include a non-stackless, pre-built Stacjkless 2.4 dmg.
> I'm pretty sure that this is the wrong idea to do it.
> Well, I'm basically still that windows head. Can anybody
> please give me a hint?

Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20070807/88c3d03f/attachment.htm>
-------------- next part --------------
Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list