PyS60 是否生成本机的 sis 文件?
我目前正在考虑为 S60 平台开发移动应用程序,并且特别关注 PyS60。 这似乎表明它可以编译为本机 .sis 文件,而不需要嵌入式 python 解释器。 通读文档,我找不到任何明确提到这一点的陈述。 虽然我现在正在下载在 Linux 上测试开发所需的 SDK、模拟器和整套工具链,但我想在这样做的同时在这里问一下。
I am currently looking at developing a mobile apps for the S60 platform and is specifically looking at PyS60. It seems to suggest that the it can be compiled into native .sis files without the need for an embedded python interpreter. Reading through the documentations I could not find any statements where this is explicitly mentioned. While I am right now downloading the SDKs, Emulators, and the whole bunch of tool chains needed to test the development out on Linux, I thought I would ask here a bit while I am doing that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 python 编写代码后,您可以使用 ensymble 将其转换为 .sis 文件。
http://code.google.com/p/ensymble/
该软件可让您使用 py2sis 选项将 .py 文件转换为 .sis 文件 - 但是,它在没有安装 python 的任何手机上都没有多大用处,因此您可能还需要使用 ensymble 将新创建的 .sis 与 .sis 合并python 文件,使用
./ensymble.py mergesis --verbose your-script-name.sis PythonForS60-1-4-5-3rdEd.sis Final-app-name.sis
等命令生成最终应用程序名称。 sis 文件将安装您的文件和 python。
Once you've written your code in python, you can convert this to a .sis file using ensymble.
http://code.google.com/p/ensymble/
This software allows you to make your .py file into a .sis file using the py2sis option - however, it won't be much use on any phone without python installed, so you may also need to use ensymble to merge your newly-created .sis with the .sis file for python, with a command like
./ensymble.py mergesis --verbose your-script-name.sis PythonForS60-1-4-5-3rdEd.sis final-app-name.sis
the resulting final-app-name.sis file will install both your file and also python.
Linux 尚未正式支持 Series60 开发。 奇怪的是,使用 Windows 会让你省去很多麻烦。
就Python而言,我认为开发的应用程序被打包成.sis文件,但安装后仍然需要PyS60解释器才能运行。
Linux is not officially supported for Series60 development yet. You will save yourself a lot of headache using Windows, weirdly enough.
As far as Python is oncerned, I think the developed application is packaged into a .sis file but still requires the PyS60 interpreter to run once installed.