| ||||||||
Changed: | ||||||||
< < |
Python Zaurus Image | |||||||
> > |
Zaurus Python Image | |||||||
BackgroundPython is an excellent "environment" for creating Zaurus applications. With it's bindings to the Qtopia user interface (PyQt) it's possible to greate native graphical Zaurus applications quite easily. And because there's no compilation step with Python apps, you can develop on a Windows, Linux, or Mac desktop without the hassle of setting up a cross-development environment. You can even develop directly on the Zaurus! In fact, the first version of PyqPlayer has been developed entirely on the Zaurus. |
Python Zaurus ImageBackgroundPython is an excellent "environment" for creating Zaurus applications. With it's bindings to the Qtopia user interface (PyQt) it's possible to greate native graphical Zaurus applications quite easily. And because there's no compilation step with Python apps, you can develop on a Windows, Linux, or Mac desktop without the hassle of setting up a cross-development environment. You can even develop directly on the Zaurus! In fact, the first version of PyqPlayer has been developed entirely on the Zaurus. | ||||||||
Changed: | ||||||||
< < |
The downside of using Python on the Zaurus is that Python 2.3 is big! We're talking 30+ MiB for a relatively complete Python installation. It is possible to chop that up into different packages and install only the minimum necessary (as the excellent [[][Python on Zaurus]] project has done). However, one of Python's greatest strengths is it's rich set of run-time libraries, and most Python developers are not hesitant to use a broad range of Python features. It's almost inevitable that to support a significant interactive Python application, you'll end up with most of the Python packages installed. | |||||||
> > |
The downside of using Python on the Zaurus is that Python is big! We're talking 30+ MiB for a relatively complete Python installation. It is possible to chop that up into different packages and install only the minimum necessary for the app(s) you want to run (as the excellent Python for arm-linux project has done). However, Python developers aren't used to restricting themselves to just a small set of Python functions so to support a large interactive Python application, you'll end up with most of the Python packages installed. Another problem with the Python for arm-linux stuff is that the packages compatible with a standard Sharp ROM are a bit incomplete and outdated. | |||||||
Changed: | ||||||||
< < |
To make matters worse, on a Sharp or Sharp-compatible ROM, you need to install Python into internal memory for everything to work properly (or you need to spend a lot of time manually creating symbolic links to a Python tree on a memory card). Sacrificing 30+ MiB of internal memory is tough for SL-C7X0/SL-C860/SL-6000 owners and it's virtually impossible for other less memory endowed Zaurus models. | |||||||
> > |
To make matters worse, on a Sharp or Sharp-compatible ROM, you need to install the Python packages into internal memory or an ext2/ext3 formatted memory card for everything to work properly. Sacrificing 30+ MiB of internal memory is tough for SL-C7X0/SL-C860/SL-6000 owners and it's virtually impossible for other less memory endowed Zaurus models. And reformatting your memory card to ext2/ext3 makes it unusable in a lot of other devices. | |||||||
Changed: | ||||||||
< < |
What I've come up with is a 50 MiB "image" of a relatively complete Zaurus Python installation that you can actually use directly from a memory card (SD or CF)! Through the magic of Linux loop devices, you can trick the Zaurus into thinking the whole thing is installed to internal memory. What's even better is that since this "image" contains a complete Linux ext2 filesystem, you can use it on SD or CF cards that are formatted FAT16 or FAT32. The whole Python tree will appear as just a (large) single file on your memory card. | |||||||
> > |
To deal with these problems, I've come up with a a compressed "image" of a relatively complete Zaurus Python installation that you can actually use directly from a FAT formatted memory card (SD or CF)! Through the magic of Linux loop devices, you can trick the Zaurus into thinking the whole thing is installed to internal memory. Since the "image" itself contains a complete Linux ext2 filesystem, you can use it on SD or CF cards that are formatted FAT16 or FAT32. The whole Python tree will appear as just a (large) single file on your memory card.
UpgradingThe Python Zaurus Image and the Python Zaurus IPK are a matched set. Upgrading one will generally require upgrading the other. When upgrading, you must always complete the following steps in the order listed:
| |||||||
Installation | ||||||||
Changed: | ||||||||
< < |
You'll need to download two packages from the downloads page - The Python Zaurus Image and the Python Zaurus Executable. Once you have both packages, follow these steps: | |||||||
> > |
You'll need to download two packages from the downloads page - The Python Zaurus Image and the Python Zaurus IPK. Once you have both packages, follow these steps: | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
| ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
How it WorksComing soon. | ||||||||
Deleted: | ||||||||
< < |
-- DavidKessler - 08 Nov 2004 |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
Python Zaurus ImageBackgroundPython is an excellent "environment" for creating Zaurus applications. With it's bindings to the Qtopia user interface (PyQt) it's possible to greate native graphical Zaurus applications quite easily. And because there's no compilation step with Python apps, you can develop on a Windows, Linux, or Mac desktop without the hassle of setting up a cross-development environment. You can even develop directly on the Zaurus! In fact, the first version of PyqPlayer has been developed entirely on the Zaurus. The downside of using Python on the Zaurus is that Python 2.3 is big! We're talking 30+ MiB for a relatively complete Python installation. It is possible to chop that up into different packages and install only the minimum necessary (as the excellent [[][Python on Zaurus]] project has done). However, one of Python's greatest strengths is it's rich set of run-time libraries, and most Python developers are not hesitant to use a broad range of Python features. It's almost inevitable that to support a significant interactive Python application, you'll end up with most of the Python packages installed. To make matters worse, on a Sharp or Sharp-compatible ROM, you need to install Python into internal memory for everything to work properly (or you need to spend a lot of time manually creating symbolic links to a Python tree on a memory card). Sacrificing 30+ MiB of internal memory is tough for SL-C7X0/SL-C860/SL-6000 owners and it's virtually impossible for other less memory endowed Zaurus models. What I've come up with is a 50 MiB "image" of a relatively complete Zaurus Python installation that you can actually use directly from a memory card (SD or CF)! Through the magic of Linux loop devices, you can trick the Zaurus into thinking the whole thing is installed to internal memory. What's even better is that since this "image" contains a complete Linux ext2 filesystem, you can use it on SD or CF cards that are formatted FAT16 or FAT32. The whole Python tree will appear as just a (large) single file on your memory card.InstallationYou'll need to download two packages from the downloads page - The Python Zaurus Image and the Python Zaurus Executable. Once you have both packages, follow these steps:
How it WorksComing soon. -- DavidKessler - 08 Nov 2004 |