On 8/14/07, Caio Marcelo <[EMAIL PROTECTED]> wrote: > Hello, > > After chatting a little bit about it in IRC, I've hacked a way to make E17 > modules using Python. The work is very preliminar, just to test if things > would go right. The idea is > > 1. have bindings to use E17 module and gadcon client API, and other relevant > stuff. For testing, right now it just wraps e_module_dialog_show() as a method > of E17Module Python object (which wraps E_Module structure). This is now in: > > http://littlechina.org/gitweb/?p=cmarcelo/python-e17.git
Minor things to fix, like __init__.py should provide symbols from it's subpackage e17.c_e17.so :-) But fine otherwise :-) Ah, s/E17Module/Module/g, e17 is already used as namespace :-) > 2. provide a E17 module (written in C and Pyrex) to manage other Python > modules. The idea is to have this manager itself written in Python (called > pyman.py). For now I'm not worrying about the 'manager' itself, but whether I > have access to functionality via Python. Besides what will be provided by > (1), here is also possible to use python-ecore stuff (a sample timer already > works and uses E17 main loop), and python-evas (when gadcon API is properly > exported to Python) to draw stuff. Code is in: > > http://littlechina.org/gitweb/?p=cmarcelo/pyman.git as we discussed in private, still some changes to autotool scripts, depend on python 2.4 (gentoo have not updated to 2.5 by default, yet). > In point (2) I still have doubt whether is best make PyMan try to register > the Python modules in E17 main module list (i.e.: they will show in modules > dialog, you could enable/disable them there) or not (have a separated PyMan > modules dialog). The first option seems doable but I didn't investigated > further. What do you guys think? Ideas, suggestions? I'd like to have modules registered as regular C modules, in the same list. But so far if it's easier to have as separate thing, then fine. > The code depends on python-ecore/python-evas being installed (both in CVS > tree, proto/), and also depends on a recent version of Pyrex. If the module is > interesting enough I have no problem moving it to CVS too ;-) > > > PS: I'm moving to another town this week, so I'll be a little off for the next > days. If all goes well, next week I'll be helping Gustavo and the > other folks at INdT > with EFL + Python too :-) > > Cheers, > Caio Marcelo > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel