Re: [Pythonmac-SIG] Matplotlib-animation problem

2012-09-05 Thread Thomas Robitaille
It's a known problem with the MacOS X backend: http://matplotlib.1069221.n5.nabble.com/Animation-example-error-on-Mac-after-installation-td26960.html Try changing backend - for example, add import matplotlib matplotlib.use('TkAgg') just *before* import numpy as np import matplotlib.pyplot as p

Re: [Pythonmac-SIG] PyQT on Lion?

2012-07-20 Thread Thomas Robitaille
I use Macports to manage my Python installation on 10.6 and 10.7 and haven't had any issues - and 'port install py27-pyqt4' works great. See http://astrofrog.github.com/macports-python/ for more details on using Python from Macports. Macports is also now much faster than it used to be since bin

Re: [Pythonmac-SIG] Bundling zmq with py2app

2012-07-16 Thread Thomas Robitaille
Hi Ronald, > Which zmq module? There are at least 2 different 0MQ bindings on PyPI. I'm using pyzmq. > If I install 'pyzmq' I get a different error than you, the libzmq.dylib was > not present > when I started the binary. A quick fix is to change 'includes' to > 'packages' in > the OPTIONS d

[Pythonmac-SIG] Bundling zmq with py2app

2012-07-16 Thread Thomas Robitaille
Hi everyone, I am trying to build a MacOS X application using py2app, and am running into issues with the python zmq module. For example, if I have a setup.py script with: from setuptools import setup OPTIONS = { 'argv_emulation': False, 'includes': ['zmq'], 'excl

Re: [Pythonmac-SIG] py2app and ipython

2009-05-02 Thread Thomas Robitaille
ython dependencies! Cheers, Tom On 2 May 2009, at 10:13, has wrote: Thomas Robitaille wrote: I am trying to use py2app to make a simple MacOS X application that launches an ipython shell. Use AppleScript. Create a new script in Script Editor (/Applications/ AppleScript):

Re: [Pythonmac-SIG] py2app and ipython

2009-04-30 Thread Thomas Robitaille
I am trying to use py2app to make a simple MacOS X application that launches an ipython shell. How do you expect to use this? It appears to need a terminal window -- Py2app is usually for GUI apps, so it will dump output to Console.app, but not give you a terminal. That's true - what I wo

[Pythonmac-SIG] py2app and ipython

2009-04-30 Thread Thomas Robitaille
Hi, I am trying to use py2app to make a simple MacOS X application that launches an ipython shell. At the moment, I have the following python script: --- from IPython.Shell import IPShellEmbed args = ['-pi1','In <\\#>:','-pi2',' .\\D.:','-po','Out<\\#>:','- nosep'] ipshell = IPShellE