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
ocessed) in: /Users/tom/Code/python/ experimental/ipython/test/dist/aplpy.app/Contents/Frameworks/ libgcc_s.1.dylib (for architecture i386) You may need the latest macholib: easy_install macholib==dev Thanks! Thomas -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Div

[Pythonmac-SIG] py2app and ipython

2009-04-30 Thread Thomas Robitaille
important, but when running setup.py py2app, I get the following warning: /usr/bin/strip: the __LINKEDIT segment does not cover the end of the file (can't be processed) in: /Users/tom/Code/python/experimental/ ipython/test/dist/aplpy.app/Contents/Frameworks/l

[Pythonmac-SIG] New release of macholib ?

2009-01-31 Thread Thomas Deniau
Hello, I've noticed that the newest release of macholib (1.1) came out in July 2006. Since then fixes have been made on the trunk to fix serious bugs such as the "unknown load command 27" problem. (see http://mail.python.org/pipermail/pythonmac-sig/2007-June/019060.html ) This problem

[Pythonmac-SIG] Teething troubles - Getting up an running on a mac

2008-08-02 Thread Thomas Philips
sed. I never thought I'd say this, but it actually seemed a lot easier to get Python and any associated programs up and running on Windows! I suspect that a large fraction of my troubles are due to the fact that I am brand new to the Mac and to Unix, but I bought the Mac in part because I th

[Pythonmac-SIG] Disabling Menus on the Mac

2008-04-15 Thread Jens Thomas
does rather screw things up for me. Does anyone know if there is any way for me to run the Tkinter GUI without it trying to populate the menu bar? Best wishes, Jens -- === Jens Thomas,email: [EMAIL PROTECTED] STF

Re: [Pythonmac-SIG] Console window appearing when running application bundled with py2app

2008-01-04 Thread Jens Thomas
Ronald Oussoren wrote: > > On Friday, January 04, 2008, at 12:37PM, "Jens Thomas" <[EMAIL PROTECTED]> > wrote: > >> Hello, >> >> I've (finally) managed to get everything in place to build my >> python/vtk/Tk application as a univers

[Pythonmac-SIG] Console window appearing when running application bundled with py2app

2008-01-04 Thread Jens Thomas
Hello, I've (finally) managed to get everything in place to build my python/vtk/Tk application as a universal binary and have py2app (0.3.6) successfully bundle it into an app. However, when I run the application under the finder, in addition to my application, I get a small white window appea

Re: [Pythonmac-SIG] pywps on mac osx

2007-10-02 Thread Thomas Juntunen
e problem, but if you want to serve up spatial data via a web interface, I think you'll find MapServer much easier to use than rolling your own. Thomas Juntunen ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Problems with finding standard python modules when using py2app

2007-05-10 Thread Jens Thomas
Hi, I'm trying to building an app using py2app for my Python application and have managed to fall at the first hurdle. I added the following to my setup.py file (which works fine with py2exe and so should be in reasonably good shape): from setuptools import setup app=["viewer/main.py"], setup

Re: [Pythonmac-SIG] Problems building universal binary for NumericPython

2007-05-09 Thread Jens Thomas
Hi Ronald, Ronald Oussoren wrote: > > On Wednesday, May 09, 2007, at 02:19PM, "Jens Thomas" <[EMAIL PROTECTED]> > wrote: > >> Hi, >> >> I'm having trouble building Numeric Python 24.2 as a universal binary. I >> know that Numer

[Pythonmac-SIG] Problems building universal binary for Numeric Python

2007-05-09 Thread Jens Thomas
Hi, I'm having trouble building Numeric Python 24.2 as a universal binary. I know that Numeric is deprecated, but for various reasons I still need to use it. I've edited the file customize.py to include the following: extra_compile_args = ['-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386

Re: [Pythonmac-SIG] Newby Question: are there Mac python programmers working on Poser scripts on the list?

2006-11-25 Thread Thomas Juntunen
re book freely available on the web in a variety of formats: http://www.diveintopython.org/ HTH, Thomas Juntunen ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] xcode for 10.3

2005-09-10 Thread Thomas Juntunen
g in. If you haven't done so already, sign up for a free online membership which is sufficient to allow you to sign in and gain access to the downloads area where you will find XCode 1.5 under Developer Tools. Be advised, it is a 300+ MB disk image; I hope you have broadband. HT

Re: [Pythonmac-SIG] ANN: MacPython 2.4.1 installer

2005-04-04 Thread Thomas Juntunen
usiasts. The time looks ripe for a language that has always emphasized its ability to "play nicely" with other technologies on a full range of platforms." Now that companies such as Google, ESRI and Nokia advocate Python use, perhaps some serious resources will be put into polishi

Re: [Pythonmac-SIG] [OT] To upgrade Mac OSX or not?

2005-03-03 Thread Thomas Juntunen
, but Other World Computing is offering Panther for $49: http://eshop.macsales.com/shop/specials/ HTH, Thomas Juntunen -BEGIN PGP SIGNATURE- Version: PGP SDK 3.2.2 iQA/AwUBQifOqtFoei/9T3YdEQITwwCfTLvdlx464bBbqA9+hzMnkLyemAwAn3tY 2+n4IY7oFV+kmCe75UUqKoKf =Pkhs -END PGP SIGNATURE

[Pythonmac-SIG] broken web link on Mac Python webpage

2005-02-18 Thread Rick Thomas
A (hopefully) minor nit: On the web page there is a link to a "fix for Apple Python". Unfortunately, clicking the link tries to go to , which doesn't exist. Is it still true that "If you

[Pythonmac-SIG] Can I use tktable with MacPython?

2005-02-15 Thread Thomas Green
working example would be ace! (BTW I'm not really competent enough to start recompiling the source or anything like that) Thanks, Thomas Green 27 Allerton Park, Leeds LS7 4ND +44-(0)-113-226-6687 http://homepage.ntlworld.com/greenery/ ___ Python

[Pythonmac-SIG] menu bar missing mac+py2app

2005-02-03 Thread Thomas
Yup that was it bob .. you got that right… now everything is in place ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] menu bar missing mac+py2app

2005-02-03 Thread Thomas
(true) app = wxPySimpleApp() frame = MainWindow(None, -1, "Menu Client") app.MainLoop()     This script works fine when I run it with pythonw.. Is the Python interpreter pointed by pythonw & /usr/bin/python one & the same.   The menu is still missing when create an applic

[Pythonmac-SIG] menu bar missing mac+py2app

2005-02-03 Thread Thomas
reter inside of an application bundle; the py2app bootstrap *is* a python interpreter inside of an application bundle. Can anyone tell me what’s going wrong here.  Or how should I proceed to locate this bug. Thanks in advance Thomas   ___ Pythonm

Re: [Pythonmac-SIG] advancededitor

2005-01-27 Thread Thomas Wiroth
.0).. it's not surprising it doesn't work :) So what does people use to develop python then, Macpython is nice but I would really like the features in the advanced editor patch. /Thomas ___ Pythonmac-SIG maillist - Pythonmac

[Pythonmac-SIG] advancededitor

2005-01-27 Thread Thomas Wiroth
Fm, Evt, Events) in PyAdvancedEditor.py. When running BuildIDE.py I get this message: " File "/System/Library/Frameworks/Python.framework/Versions/2.3/Mac/Tools/IDE/BuildIDE.py", line 9, in ? import py_resource ImportError: No