[Ml-yokadi] install method?

Aurélien Gâteau aurelien.gateau
Jeu 12 Mar 23:31:55 CET 2009


Sébastien Renard wrote:
> Le mercredi 11 mars 2009, Heinz Wiesinger a écrit :
>> Hello!
> 
> Hello Heinz,
> 
>> I tried to create a Slackware package for yokadi, but I am having some
>> troubles with installing it. It seems setup.py does nothing (it just
>> installs a .egg-info file).
> 
> Right. We do not have a proper install script yet. 
> 
>> I noticed Arch just moves the files into a system directory, but is there
>> no other way to do this?
> 
> Not yet. The actual proper to install yokadi is just to copy the directory 
> everywhere you want (in your $HOME or in /usl/local for example) and then 
> create an alias, a symlink to yokadi.py or put it in your PATH.
> 
>> If no then I will hereby file a feature request for a proper install method
>> :)
> 
> That's on the todolist as well as package for standard distribution (Slackware 
> included of course !)

In fact Olivier Hervieu was kind enough to send me a patch with a 
rewritten setup.py. This new setup.py makes it possible to install 
Yokadi correctly (with python setup.py install) so it should solve 
packager troubles as well.

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).

Aurélien


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