[Ml-yokadi] install method?

Sébastien Renard Sebastien.Renard
Jeu 12 Mar 23:37:14 CET 2009


Le jeudi 12 mars 2009, Aurélien Gâteau a écrit :
> I am guilty of not having integrated his work yet :/. The only blocker
> is that the patch needs to move all yokadi code inside a subdir, so that
> setup.py can install it in the "site-packages" dir of your Python
> installation. In his patch, Olivier used PyYokadi as a dirname, which I
> did not like very much, so I wanted to find a nicer name before applying
> it (We can't use Yokadi as a name because this would mean the yokadi.py
> script would do "import Yokadi", producing nice recursive imports under
> Windows I am afraid).

In my other python project I use a src/ subdirectory and to make running from 
source easy I add a wrapper at root level.

See pysql example (with windows menu stuff and i18n) : 
http://github.com/digitalfox/pysql/tree/master


If you are ok with the kind of organization i can adapt it for yokadi.

-- 
Sébastien


Plus d'informations sur la liste de diffusion Ml-yokadi