Jan 5 2005, 01:15 PM
Post
#1
|
|
![]() Group: Members Posts: 329 Joined: 1-July 04 Member No.: 3,880 |
I decided the shiny new Cacko 1.22 ROM on my Z needed a shiny new version of Python to go with it, so I'm building up a new Zaurus Python image with Python 2.4. I have the base Python image built and working and it includes all the "standard" Python modules (with the exception of crypt and nis for which I'm still missing libraries) including distutils, encodings, curses, readline, xml, etc.
In addition to the ext2 format, I'll also be releasing this new Python image as a cramfs for folks that want to run off SD (or internal flash) without chewing up so much space. Its not easy for folks to add stuff to the cramfs image on their own, so before I package it up, I'd like to find out if there are any "site-packages" that people think are critical to doing Python on the Z. The obvious ones (to me) are PyQT and pysqlite so I'll be including those. If there's anything else you'd like to see (that won't bloat things up too much), now's the time to ask. |
|
|
|
![]() |
Jan 7 2005, 05:57 AM
Post
#2
|
|
![]() Group: Members Posts: 329 Joined: 1-July 04 Member No.: 3,880 |
QUOTE(fpp @ Jan 7 2005, 07:00 AM) Does this mean than when using the cramfs version, we would be unable to add packages that install themselves to site-packages in the standard distutil way That is correct. A cramfs filesystem is, by nature, "read only". The only way to make changes is mount it, make a complete copy to a writeable filesystem, make the changes there, then use mkcramfs to build a new image from the copy in the writeable filesystem. I suspect that Python developers will much prefer the ext2 filesystem image, despite the much larger size. With 1GB SD cards going for under $70 these days, 50MB seems a small price to pay QUOTE On a related topic, maybe you've seen this 'Movable Python' project that appeared recently I took a look and it's basically trying to create Python filesystem images for Windows platforms. A standard Windows install doesn't have the luxury of things like loop mounting and cramfs drivers so they have to use a different (and more complex) approach. The images they're building are comparable in size to a cramfs image (and are also read-only), so there's little to be gained by going down that path. |
|
|
|
kopsis Creating Python 2.4 Zaurus Image Jan 5 2005, 01:15 PM
LarsAC Would the mySQL API for Python fit into this, too?... Jan 7 2005, 01:33 AM
fpp Does this mean than when using the cramfs version,... Jan 7 2005, 04:00 AM
kopsis QUOTE(LarsAC @ Jan 7 2005, 04:33 AM)Would the... Jan 7 2005, 05:45 AM
clofland Sounds great! I've been waiting for 2.4 fo... Jan 7 2005, 11:20 AM
fpp Thanks for both clarifications kopsis !
I... Jan 7 2005, 01:21 PM
clofland One quick add: Isn't squashfs "better... Jan 10 2005, 07:31 AM
kopsis squashfs is a bit better than cramfs, but that wou... Jan 10 2005, 09:53 AM
gasolin Dear kopsis:
Very appreciate for your python imag... Jan 10 2005, 02:07 PM
kopsis The palmdb module sounds like a great idea! I... Jan 10 2005, 04:04 PM
Bertram Wooster dear kopsis, thanks for all your work!
do you ... Jan 11 2005, 03:55 AM
kopsis QUOTE(Bertram Wooster @ Jan 11 2005, 06:55 AM... Jan 11 2005, 05:13 AM
Bertram Wooster it's definitely worth a try, though i'd be... Jan 11 2005, 12:06 PM
Ragnorok QUOTE(Bertram Wooster @ Jan 11 2005, 08:06 PM... Sep 17 2005, 09:49 AM
LarsAC QUOTE(kopsis @ Jan 11 2005, 12:04 AM)But thos... Jan 11 2005, 12:42 PM
kopsis Connections to a remote MySQL database should work... Jan 11 2005, 02:01 PM
LarsAC BTW, would this only work on Cacko or other ROMs (... Jan 12 2005, 02:49 AM
kopsis I'm testing on a C760 running Cacko 1.22 and a... Jan 12 2005, 04:58 AM
slapout I'm using kopsis's Python 2.3 image on a 5... Jan 12 2005, 11:16 AM
vernm I just got my 5600 last week. It is great, but I h... Jan 12 2005, 04:37 PM
kopsis You can read up on my approach to Python on the Z ... Jan 13 2005, 04:40 AM
rjohnson1969 QUOTE(kopsis @ Jan 13 2005, 06:40 AM)You can ... May 10 2007, 01:58 PM
hughsieman Hi
I have installed your python image kopsis and ... Jun 16 2007, 05:39 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 04:06 AM |