| Reply | « Previous Thread | Next Thread » |
|
Hi,
I know, you can compile py- file with standard python as >python -O file.py producing file.pyc. How do the same for symbian application py-file to phone installation. Can py2sis handle pyc- files, any other tool? Thanks |
|
I've compiled my .py files in Linux with the following command
python -O -O /usr/lib/python2.2/compileall.py . This command compiles all the python source files in the given directory. Then just create .sis package using py2sis (I've been using py2sisng) as you would do with .py files. Note: default.py file must not be pre-compiled! One thing I noticed is that .pyo files are not recognized (at least earlier PyS60 versions) so I've renamed *.pyo to *.pyc and they have been working just fine. Hope this helps. |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| a question about command and a question about s60 | t4kesting | Mobile Java General | 0 | 2006-01-24 09:21 |
| Strange question on 6230 | DanAvni1 | General Browsing | 1 | 2005-04-18 07:05 |
| Memory Access within the N-Gage & question regarding larger memory cards. | Moldrik | General Symbian C++ | 2 | 2004-01-08 19:36 |
| a question about class MPictureFactory and class MRichTextStoreResolver | wudilp | General Symbian C++ | 0 | 2003-12-07 17:06 |
| Sending data using iAcceptedSocket (Urgent question) | okegame | Bluetooth Technology | 1 | 1970-01-01 02:00 |