maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [Announcement] Python2.7 for Maemo5 (https://talk.maemo.org/showthread.php?t=86900)

AapoRantalainen 2012-09-20 18:39

Re: [WIP] Python2.7 for Maemo5
 
Python2.7 hit in extras-devel.
You might want install package named python2.7-minimal (This is package which contains python2.7-binary).

---
When pushing to extras-devel, I only use scp/rcp. When I (accidentally) checked this page: https://garage.maemo.org/extras-assistant/index.php I can see one of my trials on the queue (over six days now). This explains why there wasn't any log (but it doesn't explain why it got stuck on queue)

marmistrz 2012-09-26 15:14

Re: [WIP] Python2.7 for Maemo5
 
Quote:

Originally Posted by AapoRantalainen (Post 1269754)
Python2.7 hit in extras-devel.
You might want install package named python2.7-minimal (This is package which contains python2.7-binary).

---
When pushing to extras-devel, I only use scp/rcp. When I (accidentally) checked this page: https://garage.maemo.org/extras-assistant/index.php I can see one of my trials on the queue (over six days now). This explains why there wasn't any log (but it doesn't explain why it got stuck on queue)


Aapo, could you make some way like that: if an env. variable, let's call it USE_PYTHON27, (when calling python) then /usr/bin/python2.7 is called, the other way python2.5 is used.

Is this possible?

taixzo 2012-09-26 16:20

Re: [Announcement] Python2.7 for Maemo5
 
Is it possible to use pip or easy_install with python2.7 so as to have access to all of the Python packages?

AapoRantalainen 2012-09-27 05:04

Re: [Announcement] Python2.7 for Maemo5
 
Quote:

Originally Posted by taixzo (Post 1272536)
Is it possible to use pip or easy_install with python2.7 so as to have access to all of the Python packages?

I haven't used them. Seems easy_install is dead. Ubuntu ships easy_install inside package python-setuptools which is actually distribute: http://pypi.python.org/pypi/distribute
----
Pip is http://www.pip-installer.org/en/latest/
Installing it needs distribute or setuptools.
-----

http://cc.oulu.fi/~rantalai/maemo5/python27-setuptools/

So there are python-pkg-resources_0.6.24-1-maemo1_all.deb and python-setuptools_0.6.24-1-maemo1_all.deb (from Ubuntu) made against optified python2.7. Install python2.7 and then these both. Use
Code:

sudo gainroot
/opt/python27/bin/easy_install

-> report what happens and where it downloads things (and will they work). I'm currently running totally out of rootfs and seems it at least needs some temporary space for downloads.

taixzo 2012-09-27 05:32

Re: [Announcement] Python2.7 for Maemo5
 
Quote:

Originally Posted by AapoRantalainen (Post 1272780)
-> report what happens and where it downloads things (and will they work). I'm currently running totally out of rootfs and seems it at least needs some temporary space for downloads.

Well, it seems I too am running out of rootfs...I'll test this once I've uninstalled a few things.

int_ua 2012-09-27 12:28

Re: [Announcement] Python2.7 for Maemo5
 
I can't see the package in FAM. Any suggestions?

AapoRantalainen 2012-09-27 15:46

Re: [Announcement] Python2.7 for Maemo5
 
Quote:

Originally Posted by int_ua (Post 1272916)
I can't see the package in FAM. Any suggestions?

It's section is not "user/".

marmistrz 2012-09-27 19:27

Re: [Announcement] Python2.7 for Maemo5
 
Quote:

Originally Posted by int_ua (Post 1272916)
I can't see the package in FAM. Any suggestions?

use category "all packages (advanced)"

marmistrz 2012-10-18 15:01

Re: [Announcement] Python2.7 for Maemo5
 
Can anyone create pyside for python2.7?

MartinK 2012-10-18 16:25

Re: [Announcement] Python2.7 for Maemo5
 
Quote:

Originally Posted by marmistrz (Post 1282154)
Can anyone create pyside for python2.7?

Good point. :)
+1


All times are GMT. The time now is 06:09.

vBulletin® Version 3.8.8