[Python-apps-team] Spe's Debian packaging feedback

Bernd Zeimetz bernd at bzed.de
Tue Nov 27 11:51:42 UTC 2007


>> With winpdb there  is a small issue. As the winpdb upstream doesn't
>> contain an __init__.py file. SPE can not know where it is located and
>> SPE needs to import modules of winpdb for its interaction. I always
>> added an empty __init__.py myself. Probably you have a more elegant
>> solution.
> 
> As Bernd said, it works fine in Debian (and so does in Ubuntu). :-) And in case
> you remove it, it will work fine here, and I'd say in other distros which
> include the module.

It should work well everywhere where winpdb's setup.py was used to
install it.



> Another thing is that looks wrong to me (I can be wrong, so please correct me if
> I am) is that spe is using the plugins directly from spe's modules. Something like:
> Parent.py:            from plugins.kiki import kiki
> 
> This means that I have to symlink _spe/plugins/kiki to
> /usr/share/pycentral/kiki/site-packages/kiki, where kiki is installed in Debian.

That is just the result of shipping kiki in the plugins directory.
setup.py should be used to retrieve and install module dependencies,
then an import kiki works everywhere.


Cheers,

Bernd

-- 
Bernd Zeimetz
<bernd at bzed.de>                         <http://bzed.de/>



More information about the Python-apps-team mailing list