Mozilla, XUL for Python?!

Trent Mick trentm at ActiveState.com
Wed Feb 26 18:20:21 EST 2003


[Graham Fawcett wrote]
> Yes, it's XPCOM (cross platform component object model), and there are
> Python bindings for it (PyXPCOM).
> 
> http://aspn.activestate.com/ASPN/Downloads/Komodo/PyXPCOM/
> 
> The source code has been moved into the Mozilla tree, but you must
> compile Mozilla yourself, and explicitly ask for the PyXPCOM
> extensions to be compiled in.

Note to anyone who is going to try to compile their own Mozilla with
PyXPCOM:
- You need to apply patches from this bug:
    http://bugzilla.mozilla.org/show_bug.cgi?id=129216
- These pages are out of date:
    http://aspn.activestate.com/ASPN/Downloads/Komodo/PyXPCOM/
- To "turn PyXPCOM on" in the Mozilla build you need to have a line like
  this in your .mozconfig:
   ac_add_options --enable-extensions=python/xpcom 

Cheers,
Trent

-- 
Trent Mick
TrentM at ActiveState.com





More information about the Python-list mailing list