Re: [pyxpcom] PyXPCOM extension - PyEgg
by Todd Whiteman other posts by this author
Apr 6 2008 4:59PM messages near this date
view in the new Beta List Site
[pyxpcom] PyXPCOM extension - PyEgg
|
Re: [pyxpcom] PyXPCOM extension - PyEgg
lekma wrote:
> Some comments on the PyXPCOM extension:
>
> Std modules seem to be missing from the python shipped with the
> extension (I missed the md5module (_md5) which is needed by md5.py).
>
Hi Lekma,
Ah, so they are (hashlib, ssl as well). I believe this is because these
extension modules are compiled as shared libraries, but really they need
to be statically build, so there are no library dependencies on the host
system.
I don't know much about the static v's shared settings of a python
build, I may simply change the build system to use an ActivePython build
to avoid these issues.
> I'm pleased to announce PyEgg-0.1.0, a setuptools wrapper extension for
> the PyXPCOM extension.
>
> PyEgg allows you to install/[up/down]grade/remove python eggs that will
> be available to your PyXPCOM enabled xulrunner application.
>
> A non-release because it is experimental, and I have no place to put it
> on the internet (I attached it to this mail but I don't know if the
> list allows zipped attachment, in case it's not here, interested people
> should drop me a mail, I'd be glad to send it (it's only 14KB)).
>
> You need PyXPCOM fixed as described in the comments above, and
> xulrunner-1.9.
> Once you have a xulrunner app working with pyxpcom you need to drop the
> unzipped extension in your extensions folder.
> To use it open the extension manager (for details on how to do that:
> http://developer.mozilla.org/en/docs/XULRunner_tips#Extension_Manager)
> and click on PyEgg preferences
This seems interesting, certainly useful for mucking around with egg
libraries in Moz apps. I think it would be good if you could make this
into a real xpi file that could then also be easily installed into
Firefox/Thunderbird/etc... You could even add a simple menu under
"Tools" to easily get access to the PyEgg UI.
If you need a place to host the code/extension, you could easily set up
a mozdev account (http://mozdev.org) for the project.
Cheers,
Todd
_______________________________________________
pyxpcom mailing list
pyxpcom@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Lekma
Todd Whiteman
Mark Hammond
Lekma
|