Re: [Pythonmac-SIG] using the "PyUSB" module

2009-04-07 Thread Andrew Straw
I have done a terrible job advertising and documenting this, but I have a ctypes based wrapper of libusb which therefore does not require Xcode to be installed: https://code.astraw.com/projects/pylibusb Perhaps it suits your needs? -Andrew Rekow Warren wrote: > Chris and Kevin, thanks for the f

Re: [Pythonmac-SIG] [Matplotlib-users] Matplotlib Universal Package

2006-05-24 Thread Andrew Straw
Dear Sam, Could you please try the following patch? I think it will fix the issue, but I'm not sure -- I don't have this problem on my linux system. If it works, I'll commit it to svn. (Robert Kern suggested modifying the setup.py to include a compiler command-line directive. IMO this is bet

Re: [Pythonmac-SIG] Carbon/QuickTime help

2006-05-15 Thread Andrew Straw
You could leverage off the work I've recently done with ctypes and QuickTime. Here's part of the code, you should be able to find the rest from there: http://visionegg.org/cgi-bin/viewcvs.cgi/trunk/visionegg/src/qtmovie.py?rev=1375&view=markup Caveats: I don't know how well this will work on the

Re: [Pythonmac-SIG] [OT] Quicktime/Buffer API

2005-10-24 Thread Andrew Straw
You may want to investigate the new array interface: http://numeric.scipy.org/array_interface.html It's meant to deal with this situation. Travis Oliphant also has plans to build a C version of this. For now, if you need to do it in C, you'll have to use the Python-C API and manipulate the Pyt

Re: [Pythonmac-SIG] Quicktime Module

2005-10-12 Thread Andrew Straw
I have some code that worked once upon a time (Mac OS X 10.2, I think) to do just that. It may be a decent place to start: http://visionegg.org/cgi-bin/viewcvs.cgi/trunk/visionegg/src/QuickTime.py?rev=1280&view=markup http://visionegg.org/cgi-bin/viewcvs.cgi/trunk/visionegg/swig_src/gl_qt.c?rev=