OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Creating Python 2.4 Zaurus Image, What extra modules are a "must"
kopsis
post 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.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
kopsis
post Jan 11 2005, 02:01 PM
Post #2





Group: Members
Posts: 329
Joined: 1-July 04
Member No.: 3,880



Connections to a remote MySQL database should work just fine as long as you specify things like host, port, user, passwd, etc. as parameters in the connect call (and don't rely on picking them up from [client] section of a my.cnf file). I ran the full suite of dbapi20 tests (about 40 unit tests) and had only three minor failures that shouldn't affect usability.

I've looked at the Twisted networking package and though it looks like really good stuff, it's pretty huge and has some major dependancies (like OpenSSL) that I don't want impose on users that don't need it. At some point I may package it up as an add-on, but it doesn't look like it will make it into the base image. I also looked at PyGames (a Python interface to SDL) but it's also too big and has too many dependancies for the base image.

So, barring any other suggestions, I may be able to package all this good stuff up and have a release by the end of the week. Stay tuned smile.gif
Go to the top of the page
 
+Quote Post

Posts in this topic
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
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


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th April 2014 - 05:25 PM