Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Revision as of 11:41, 8 May 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Archived:Configuring Eclipse IDE for PySymbian

From Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata
Created: lfd (29 Jun 2007)
Last edited: hamishwillee (08 May 2013)

Warning.pngThis article does not meet the wiki quality standards: Please make it more useful by adding links or additional information as discussed in the quality standards. When you have done so you can delete the {{NeedsMoreWork}} template from the article to remove this warning.

Eclipse combined with Pydev is a good choice to develop Python applications.

Download and install the newest version of Eclipse from the official website. Choose Eclipse Classic if you think you don't need additional features in other packages.

After Eclipse installation follow Pydev installation instructions.

This IDE will help you organizing your Python project as Python project but not PySymbian i.e: there are no shortcut to launch the emulator and PyDev doesn't know the PySymbian libraries.

In order to make Eclipse stopping to complain about the unknown PySymbian libraries, you need to update the PYTHONPATH

  • Preferences > PyDev > Interpreter - Python > System PYTHONPATH
  • add a New Folder with the PySymbian libs path
    • 2nd edition: 'C:\Symbian\8.0a\S60_2nd_FP2\epoc32\release\wins\udeb\z\system\Libs'
    • 3rd edition: 'C:\Symbian\9.1\S60_3rd_MR\Epoc32\winscw\c\resource'
    • newer SDKs: check the equivalent \Epoc32\winscw\c\resource directory.

If you are using PySymbian 1.9/2.0 use add "New Egg/Zip(s)" button instead and let it point to which you can found in the newest

It then stops complaining for the Python written libraries (excluding DLL: '.pyd'), and you should have basic code completion.

With the emulator running in parallel, you just need to choose the script to run after saving it.

This page was last modified on 8 May 2013, at 11:41.
44 page views in the last 30 days.