Now … Python time again, since it seems to be the easiest way to develope some leisure stuffs for my new E90.
So here are things to be installed:
- ActivePython for Windows, at this moment need to use 2.5.x
- ensymble for Windows, I’m using 0.28 (for Python 2.5)
- openssl for Windows, remember download openssl.zip
- pys60, current version is 1.9.7, this (the sis file) is for installing to my handset
Install pys60 to handset is pretty straight forward, except you may have to deal with certificate, etc. – check those Symbian forum please, I don’t think my solution is the best (allow to install any software and don’t check certificate at all).
Now, install ActivePython on Windows box by following instruction, then create a directory for ensymble (let’s say C:\Ensymble), unzip the openssl.zip to that directory (all 3 files in total), and then the ensymble_xxx.py – I changed the name to ensymble.py so that I need to type less whenever I want to use it. As the last step, put C:\Ensymble to your environment variable PATH.
After everything’s done, let’s try the first Python application for Symbian – pick an open source application from PyS60 Application Directory, and build it. I was using Magic Video as my first test, download the py file, put it somewhere and then run:
ensymble.py py2sis –uid=0x98765432 –appname=”MagicVideo” –caption=”Magic Video” –version=1.0.0 magicvideo.py magicvideo
you will get a .sis file in the current directory and that can be installed to handset.
Remember use uid >0x7fffffff, I didn’t pay attention to the warning message on the screen and this costed me almost half an hour to figure out why the application cannot be installed.