PluThon is part of maemo IDE Integration

INSTALLATION

Overview

PluThon is an Eclipse-based IDE. It is based on Eclipse Ganymede (3.4.2) and provides Python support, source editing, project building, run/debug/profiling, and on-device package deployment. PluThon communicates with your Maemo devices using the various network clients and servers available with the PC Connectivity project.

With PluThon and PC Connectivity installed, you can re-image your Maemo device and run, debug, and profile Python applications on device.

PluThon IDE

PluThon may be installed completely from an archive or added to an existing Eclipse 3.4.2 installation from our update sites.

PluThon may be installed in a variety of hosts. The "Supported Environments" sections describes these. The "Installing PluThon IDE" section describes how to find and install PluThon.

Development Environment

While PluThon deploys applications that run entirely on device, you still need a Python interpreter installed locally in order to support the editor and the run/debug mechanism in PyDev.

Typically you should use the same version of Python that is on the device, which is currently Python 2.5. See instructions at at Python 2.5.4 official release. PluThon configures Pydev to read the host installation's library sources for code completion. If you're not concerned about differences here, a 2.4 or 2.6 version may be installed on the host.

Also, of course, Python should be installed on the tablet. PluThon provides a command via Project > Validate Installed Packages (which operates automatically when you create a new project) which will do this for you.

PC Connectivity

In order to run, debug, profile, or install your application on hardware, the PC Connectivity project provides convenient installation packages allowing you to use ssh, sbrsh, NFS, rsync, avahi, etc. between your PC and your Maemo device. There is a host component (for the machine running Eclipse, and also for the virtual machine, if you have to use one) and a target component (for the device).

The "Supported Environments" sections describes the Maemo releases and devices supported.

Find the complete description and installation instructions on the PC connectivity project web site.

Supported Environments

Hosts supported

Host Supported? Tested?
Ubuntu 8.04 Hardy, 8.10 Intrepid, 9.04 Jaunty (x86) Yes Yes
Ubuntu 9.10 Karmic (x86) or other Linux/x86 distros Maybe [1] [4] Partially
Other Linux Maybe [1] [4] No
Windows XP Yes Yes
Windows Vista/7 Partially [2] Yes
Mac OS X Intel Yes Yes
Mac OS X PPC Maybe [1] [3] No

[1] If Eclipse runs properly, then PluThon should work.

[2] Currently, Cygwin does not provide an SSH server for Windows Vista/7, so if you cannot install one yourself, you will not be able to use the "Mount project (SBRSH)" launch method in these hosts.

[3] The Host components of PC Connectivity have not been fully ported to this host.

[4] On newer Linux distributions, some components like GTK and xulrunner have changed in ways that make Eclipse difficult to launch. Please use the provided pluthon.sh script (in product archives or download directly here) to launch PluThon and work around the issues.

Maemo Releases supported

The Maemo releases supported are:

  • OS2008 Diablo
  • Maemo 5 Fremantle
  • Older releases may work, but PC Connectivity 2nd Edition is not supported on them; you must manually set up networking, SSH, and SBRSH.

Installing PluThon IDE

Java runtime

PluThon is an Eclipse application, which needs Java to run.

Eclipse 3.4.2 needs Java 1.5 or newer:

You can find these JREs as packages in your distribution or download them directly from their websites.

Method 1: Full Product Archive (recommended)

  • PluThon is distributed as a full Eclipse product archive, which contains Eclipse, the Mica framework, and PluThon. This is the easiest way to ensure you have the right versions of the plugins and features. Download it, extract it, and get started!
  • Follow these instructions.

Method 2: Eclipse Update Site

  • If you have a custom Eclipse 3.4.2 installation or want to build one, you can use the Eclipse Software Updates mechanism to download and install and upgrade PluThon from the Internet.
  • Newer versions of Eclipse are not supported.
  • Follow these instructions.
  • Both the Full Product Archive and this method will be upgradeable in the future.

PC Connectivity

In order to communicate with your Maemo device, a set of daemons and utilities are needed on the host and target to fully communicate with the Maemo device.

Host PC Connectivity

Host PC connectivity provides host-side software, like ssh and sbrsh clients, rsync, FTP client, and the tightvnc viewer. These are packaged together conveniently for installation on Linux/x86, Windows, and Mac OS X Intel.

Install the Host PC Connectivity package on the machine running Eclipse.

Find the complete details for both on the PC connectivity project web site.

Target (Maemo) PC Connectivity

On the Maemo device, you need the other half of PC Connectivity, containing the servers that match the clients installed on the host side. The PC Connectivity requires either a Diablo and Fremantle release.

Find the complete description and installation instructions on the PCconnectivity project web site.

  • PluThon can flash OS images onto your device using the File > New > Other > Maemo Installers > Flash Images to Device wizard.

Maemo SDK Help Content

To finish the installation, see instructions on installing the Maemo SDK documentation and offline hover help support.

back