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 10 2005, 04:04 PM
Post
#2
|
|
![]() Group: Members Posts: 329 Joined: 1-July 04 Member No.: 3,880 |
The palmdb module sounds like a great idea! I'll look into that one.
The CJK codecs from the standard 2.4 distribution are definitely included, as are doctest and unittest Database wise, pysqlite for sqlite3 is in there. Hopefully there won't be too many folks still wanting to use sqlite2 database files. I've also built and tested MySQL-python 1.1.8 for MySQL 3.23.49 (which seems to be the latest Zaurus IPK around). It's not perfect ... the client libs default to the wrong directory for the localhost socket and choke if you force them to read my.cnf. But those problems are easy enough to work around with the right "connect" parameters. I'll be including the MySQL stuff for expert users who need to work with MySQL databases, but you're on your own when it comes to getting MySQL running on the Z. If you don't know why you would want to choose MySQL over sqlite, then you probably shouldn't The cramfs image is currently running 8.3MiB and the ext2 version will weigh in at around 35MiB (25MiB + 10MiB free space). That's with the .pyo files stripped out (I don't think too many people use the optimize switch) but all the .py and .pyc files retained. With a little luck I'll be able to release in a couple weeks. |
|
|
|
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
kopsis QUOTE(fpp @ Jan 7 2005, 07:00 AM)Does this me... Jan 7 2005, 05:57 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
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: 24th May 2013 - 09:12 AM |