[Ml-yokadi] install method?
Aurélien Gâteau
aurelien.gateau
Ven 13 Mar 14:27:44 CET 2009
Sébastien Renard wrote:
> 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.
Sounds good, please go ahead. I attach the setup.py Olivier wrote so
that you don't have to rewrite it.
Aurélien
-------------- section suivante --------------
Une pièce jointe non texte a été nettoyée...
Nom: setup.py
Type: text/x-python
Taille: 440 octets
Desc: non disponible
Url: http://sequanux.org/pipermail/ml-yokadi/attachments/20090313/d93e3d88/attachment.py
Plus d'informations sur la liste de diffusion Ml-yokadi