×
Namespaces

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

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

Archived:Configuring Eclipse IDE for PySymbian

From Nokia Developer 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
Article
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 python25.zip which you can found in the newest Python_1.9.x_SDK_3rdEdFPx.zip.

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 14:41.
54 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×