Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-08 Thread Joe Strout
Ned Deily wrote: Note, I haven't tested this so YMMV. If you can get away with using a 5.0 client, that should work. But if you just fix-up the 5.1 libs with a couple of copies that should work, too. Go to the directory of your mysql installation, probably something like: cd /usr/local/m

[Pythonmac-SIG] real-time video capturing and processing

2009-01-08 Thread Michael Graber
hi all, first: theres a library called VideoCapture for Win32 environments which makes it possible to access video-capture devices. is there something similar for macs? second: i would like to do real-time video-processing (like bright- spot detection, movement detection, ...) using images

[Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-08 Thread Joe Strout
I'm (still) trying to make a neatly packaged Python app that works on both PPC and Intel Macs. All is good except for mysqldb; following the procedure I've documented at , my app bundle contains an Intel-only binary of the mysqldb library (

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary? [SOLVED!]

2009-01-08 Thread Joe Strout
Woot! I finally got my MySQLdb-using Python app working as a Universal Binary! (Trying to make sure all the relevant keywords are there for future googlers.) The root cause of most of the trouble was the broken 5.1 MySQL distribution (bug #41940 on the MySQL tracker). I tried patching it up

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary? [SOLVED!]

2009-01-08 Thread Daniel Miller
Woot! I finally got my MySQLdb-using Python app working as a Universal Binary! Excellent! I'm glad you got it working. The root cause of most of the trouble was the broken 5.1 MySQL distribution (bug #41940 on the MySQL tracker). I tried patching it up as Ned suggested, but that didn't

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary? [SOLVED!]

2009-01-08 Thread Joe Strout
Daniel Miller wrote: The root cause of most of the trouble was the broken 5.1 MySQL distribution (bug #41940 on the MySQL tracker). I tried patching it up as Ned suggested, but that didn't work for me. However, going back to 5.0 did work. Out of curiosity, what does the mysql_config comman

[Pythonmac-SIG] Building MySqldb for Universal Python

2009-01-08 Thread Christopher Barker
NOTE: I'm sending this all here, so it will be here for the archives This is about trying to build a Universal MySqlDb module for the python.org Universal python (2.5.2 in this case). The issue is that you need to start with Universal MySQL libs. MySQL does indeed distribute Universal libs (p

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-08 Thread Christopher Barker
Joe Strout wrote: Hmm. This doesn't appear to have worked, but it's failing in an odd way that I don't understand. Here's what I did: 1. The above copying, vebatim. 2. In the MySQL-python-1.2.2 source directory: 2a. sudo python setup.py clean I recommend actually deleting the build and d

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary? [SOLVED!]

2009-01-08 Thread Christopher Barker
Joe Strout wrote: Woot! I finally got my MySQLdb-using Python app working as a Universal Binary! glad you got it working -- a couple comments for the record: The root cause of most of the trouble was the broken 5.1 MySQL distribution (bug #41940 on the MySQL tracker). Ned, thanks for posti

[Pythonmac-SIG] PythonMagick

2009-01-08 Thread Lyle Gunderson
Has anyone installed PythonMagick on Mac OS X? I have ImageMagick and Python both installed and working on my Mac, so a way to make them work together seems like a great idea. I found it and downloaded it in source code form. Source code is fine, but there is a list of requirements for othe

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary? [SOLVED!]

2009-01-08 Thread Ned Deily
Chris, Thanks for all the work on this. And nice summary! Just one comment: In article <4966593d.8060...@noaa.gov>, Christopher Barker wrote: > By the way, I've build a binary universal egg that should be > re-distributable - please let me know if you want to test it, or have a > place to h

Re: [Pythonmac-SIG] real-time video capturing and processing

2009-01-08 Thread Zachary Pincus
Hi Michael, I see some faint traces on Google of something called "PySight" that can grab images from iSight cameras. There may be some Apple-provided frameworks for grabbing iSight images as well, which could be called via PyObjC. Failing that, I'm sure you can find some C-level webcam d

[Pythonmac-SIG] MySQLdb Universal binary: call for testers

2009-01-08 Thread Christopher Barker
Hi folks, I've built what I think should be a binary egg for mySQLdb. It should work for the python.org Universal build of python2.5, on OS-X 10.3.9 and above. However, it hasn't really been tested. I haven't enclosed it here, as it's about 3MB, but if you drop me a note, I'll send it to yo