Editing PyMaemo/SDK installation

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
{{out of date}}
+
== SDK Installation (scratchbox) ==
-
== Instructions for Maemo 5 beta (fremantle) ==
 
-
To install PyMaemo on Maemo 5 SDK, follow the same instructions as below (replacing occurrences of "diablo" with "fremantle"), but replace the "extras" repository with the "extras-devel" one:
+
The first thing is to add the Maemo extras repository (where Python is located) to your list of package sources. To do that you will have to edit the file '''/etc/apt/sources.list''' inside scratchbox, for both targets (X86 and ARMEL), which should look similar to this:
-
 
+
-
  deb http://repository.maemo.org/extras-devel/ fremantle free non-free
+
-
 
+
-
Also note that the runtime metapackage is now called "python-runtime" (without the Python version), therefore to install the bindings, do:
+
-
 
+
-
  [sbox-FREMANTLE_X86: ~] > apt-get install python-runtime
+
-
 
+
-
== Instructions for Maemo 4.1 (Diablo) ==
+
-
 
+
-
The first thing is to add the Maemo extras repository (where Python is located) to your list of package sources. To do that you will have to edit the file <code>/etc/apt/sources.list</code> inside Scratchbox, for both targets (X86 and ARMEL), which should look similar to this:
+
   deb http://repository.maemo.org/ diablo free non-free
   deb http://repository.maemo.org/ diablo free non-free
Line 31: Line 20:
   [sbox-SDK_X86: ~] > apt-get install python2.5-runtime
   [sbox-SDK_X86: ~] > apt-get install python2.5-runtime
-
To see all Python-related packages issue this command
+
To see all python-related packages issue this command
   [sbox-SDK_X86: ~] > apt-get cache search python*
   [sbox-SDK_X86: ~] > apt-get cache search python*
-
Note that you'll see also Scratchbox's own python (version 2.3) which you must not use for your Maemo development. So, run your scripts explicitly calling <code>python2.5</code> instead of just <code>python</code>.
+
Note that you'll see also scratchbox's own python (version 2.3) which you must not use for your Maemo development. So, run your scripts explicitly calling python2.5 instead of just python.
-
Also, some programs require some extra configuration done by the <code>run-standalone.sh</code> script. Call Python with it as follows:
+
Also, some programs require some extra configuration done by the '''run-standalone.sh''' script. Call python with it as follows:
   run-standalone.sh python2.5 <yourscript.py>
   run-standalone.sh python2.5 <yourscript.py>
 +
 +
 +
== Instructions for Maemo 5 beta (fremantle) ==
 +
 +
 +
To install PyMaemo on Maemo 5 beta SDK, follow the same instructions as above (replacing occurrences of "diablo" with "fremantle"), but replace the "extras" repository with the "extras-devel" one:
 +
 +
  deb http://repository.maemo.org/extras-devel/ fremantle free non-free
 +
 +
Also note that the runtime metapackage is now called "python-runtime" (without the Python version), therefore to install the bindings, do:
 +
 +
  [sbox-FREMANTLE_X86: ~] > apt-get install python-runtime
[[Category:Python]]
[[Category:Python]]

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)

Templates used on this page: