Re: [mousetrap-list] scripts.py and scripts/ directory



Hey Samuel,

Yes, all your requests can be applied without problems...

Give me a few days to check everything and commit it.

Thanks a lot for your help.

El dom, 01-02-2009 a las 02:52 +0100, Samuel Thibault escribió:
> Hello,
> 
> While packaging moustrap for debian, I've stumbled across a problem with
> scripts.py conflicting with the scripts/ directory: python complains
> 
> scripts.loadProfile( gui )
> 
> AttributeError: 'module' object has no attribute 'loadProfile'
> 
> because it looks for loadProfile in the scripts directory, not
> scripts.py.
> 
> 
> Could either of them be renamed to fix this?
> 
> Also, the configure script looks for python2.4, but mousetrap uses some
> pieces of syntax that were introduced in python2.5 only.
> 
> BTW, in mousetrap.desktop.in, could you use:
> 
> Categories=Utility;GNOME;GTK;Accessibility;
> 
> as the freekdestop guidelines indeed require a main category?
> 
> Eventually, 
> 
>     exec_prefix= prefix@
>     default_python=`ls -l /usr/bin/ | grep -e "python ->" | sed 's/.*> //'`
>     PYTHONPATH=${PYTHONPATH}:${exec_prefix}/lib/${default_python}/site-packages:$PWD/mouseTrap
>     export PYTHONPATH
> 
> is really a strange way to do things, to say the least, especially the
> $PWD thing :)
> 
> Samuel
> _______________________________________________
> mousetrap-list mailing list
> mousetrap-list gnome org
> http://mail.gnome.org/mailman/listinfo/mousetrap-list

-- 
Flavio Percoco Premoli, A.K.A. [Flaper87]
http://www.flaper87.org
Usuario Linux registrado #436538
Geek by nature, Linux by choice, Archer of course.
Key Fingerprint: 2AAC 589E 6E61 98FC 1D80 D36B 3094 6CEA 26FD 9E19
The Solution to everything:
python -c "from struct import pack; print  pack('5b', (41*len('99')),
pow(8,2)+20, 4900**0.5, range(78)[-1], 10)"


Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]