Archived:Configuring Eclipse IDE for PySymbian
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.