View Single Post
Posts: 838 | Thanked: 3,384 times | Joined on Mar 2009
#1
Now in extras-devel.

Currently Maemo5 has python2.5. There are some interesting python2.7 applications which can't be ported to N900.

Check python2.7-minimal from extras-devel.

*Packages are fully optified.
*Python2.5 and python2.7 can be simultaneously installed

There are no yet modules for python2.7, but in some cases it is possible to use modules from python2.5.

It is not intended that existing and working applications use python2.7, but if new application needs python2.7 it states that explicitly.

--------
First test: AdvancedCaching (this is existing application and works great with python2.5)

Code:
/opt/agtl-maemo/core.py
-#!/usr/bin/python
+#!/usr/bin/python2.7

+import sys
+sys.path.append('/usr/lib/pymodules/python2.5')
+sys.path.append('/usr/lib/pymodules/python2.5/gtk-2.0')
+sys.path.append('/usr/lib/python2.5/site-packages/')
+sys.path.append('/usr/lib/python2.5/lib-dynload/')
-> works.
---------
Some existing applications fail to start with python2.7, and I'm suspecting mismatch of old python2.5 modules, so maybe modules (or some of them) must be recompiled against new python. I'm asking You to test and report your thoughts. What modules cause errors?

----------------


Source:
https://gitorious.org/python27-maemo5/python27-maemo5

[EDIT]
ctypes works with version 2.7.3~rc2-2.1-maemo6 (on extras-devel)
[/EDIT]

Last edited by AapoRantalainen; 2013-08-19 at 06:18. Reason: in extras-devel
 

The Following 37 Users Say Thank You to AapoRantalainen For This Useful Post: