ext Andrew Flegg <and...@bleb.org> writes:

> Also, it'd be useful to have confirmation from Marius if the
> heuristics described here regarding Python apps have been implemented
> in mode "auto":
>
>     
> http://lists.maemo.org/pipermail/maemo-developers/2009-December/022807.html

Not as written.  I think I have the framework in place now, and we only
need to find a working implementation of the is_python_package function.

    http://maemo.gitorious.org/maemo-af/maemo-optify
    
http://maemo.gitorious.org/maemo-af/maemo-optify/blobs/master/maemo-optify-deb#line36

Currently, is_python_package looks like this:

    sub is_python_package {
        my ($dir) = @_;

        # XXX - some input from Pythonistas is required here.

        return (-d "$dir/usr/lib/python2.5"
                || -d "$dir/usr/share/pyshared"
                || -d "$dir/usr/share/pyshared-data"
                || -d "$dir/usr/lib/pyshared"
                || -d "$dir/usr/share/python-support"
                || -d "$dir/usr/lib/python-support");
    }

I will change that to something closer to what has actually been
proposed.  Concrete patches are most welcome, of course!
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to