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



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


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