[Ml-yokadi] Win32 patch

Sébastien Renard Sebastien.Renard at digitalfox.org
Wed Nov 4 09:33:30 CET 2009


Le mercredi 4 novembre 2009 02:22:22, Patrick Spendrin a écrit :
> Hi everybody,

Hi Patrick,

> I just got interested in yokadi because of Aurélien's blog post and
> tried to install yokadi on windows.

We make some effort to make yokadi windows compliant but it is still not 
complete.

> After having solved the python dependencies, I tried to run it and
> reached some small problems:
> 1) the python readline package is not available for windows and so I
> needed to hide all occurances of it (see attached patch)

Readline is available through pyreadline - a pure python readline 
implementation. It is not fully equivalent to Unix readline with it does the 
job for basic stuff.

> 2) the temporary file in tui.py:46 is somehow set to readonly which
> means that vim complains - this can be overriden though.

Huh ? Strange, this does not create a readonly file on Unix... Strange. I don't 
have any windows here to test for now. I'll dig it.

> I didn't tried to setup yokadid as when glancing at the code I found
> that it probably uses some real linux specific stuff.

Yes. We have an experimental branch named "windows" that include a windows 
compliant yokadi daemon (thanks to Marc-Antoine). It is a work in progress and 
need some test but all standard functionnality are availables.
 
> I will probably write a blog post about how to set up yokadi in detail
> on Windows in the coming days.

That's nice !
 

-- 
Sébastien


More information about the Ml-yokadi mailing list