Thread
:
[Announcement] Python2.7 for Maemo5
View Single Post
wazrus
2014-11-13 , 12:27
Posts: 18 | Thanked: 20 times | Joined on Jul 2008
#
71
I don't why you have all these packages in /usr/lib/python2.7, no file are owned by a .deb ?
Code:
find /usr/lib/python2.7 | xargs dpkg -S | grep -v 'not found$'
Anyway, I found /usr/lib/python2.7 in my real n900 too.
Modrana installs /usr/lib/python2.7/site-packages/modrana-0.49.4-py2.7.egg-info, manually in debian/rules ( i don't know why ).
So, if there are packages in repositories creating /usr/lib/python2.7, we could:
1 - (ask to) modify these packages, they shouldn't use /usr/lib/python2.7 if they don't depend on python2.7-minimal
2 - during python2.7-minimal postinst, if exists copy everything from /usr/lib/python2.7 to /opt/python2.7/lib, then symlink
some
3 - do not symlink python27 in /usr/lib, but add /usr/lib/python2.7/site-packages and /usr/lib/python2.7/dist-packages to python search path way
Last edited by wazrus; 2014-11-13 at
12:44
.
Quote & Reply
|
wazrus
View Public Profile
Send a private message to wazrus
Find all posts by wazrus