[Pythonmac-SIG] OS 10.6 tkinter

2010-07-22 Thread Robin Becker
e any ideas? -- Robin Becker ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

[Pythonmac-SIG] python-config ldflags problem on mac

2009-12-18 Thread Robin
Hi, I have a problem with using python-config --ldflags on a Mac. Using my python.org install: robin-mbp:github robince$ which python-config /Library/Frameworks/Python.framework/Versions/2.5/bin/python-config robin-mbp:github robince$ python-config --ldflags -L/Library/Frameworks

Re: [Pythonmac-SIG] matplotlib

2009-11-01 Thread Robin
uld try "import pylab" in Python and see what error you get. Also you could try and plot something: from pylab import plot x = range(1) plot(x,x) But I do think either the NLTK or matplotlib mailing lists would be more appropriate for you to get help with this. Also I'd reco

Re: [Pythonmac-SIG] matplotlib

2009-11-01 Thread Robin
ecent versions should run fine on 2.6 as far as I know. You might want to try the matplotlib mailing list if you have more trouble. Robin On Sun, Nov 1, 2009 at 3:14 PM, Charles Hartman wrote: > Let me rephrase that:  I've found online notes about problems with > matplotlib under Pytho

Re: [Pythonmac-SIG] 32/64 bit intel universal build

2009-10-29 Thread Robin
rebuilt the Framework and now everything works as expected (I had to change the hardcoded python path to 2.6). Is this likely to work with virtualenv (it seems to but haven't tried too much yet). Cheers Robin ___ Pythonmac-SIG maillist - Pyth

[Pythonmac-SIG] 32/64 bit intel universal build

2009-10-26 Thread Robin
niversal binary with 2 architectures /Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 (for architecture i386):Mach-O executable i386 /Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 (for architecture x86_64): Mach-O 64-bit executable x86_64 P

Re: [Pythonmac-SIG] 32/64 bit intel universal build

2009-10-25 Thread Robin
n't know if there is a configuration > option to set this behavior. I tried but I can't get the environment variable to have any effect on the self-built python.org version. robin-mbp:bin robince$ pwd /Library/Frameworks/Python.framework/Versions/2.6/bin robin-mbp:bin robince$ export

[Pythonmac-SIG] 32/64 bit intel universal build

2009-10-25 Thread Robin
Hi, I've been struggling with 32 vs 64 bit python on snow leopard. I built an intel universal with: ./build-installer.py --sdk-path=/Developer/SDKs/MacOSX10.6.sdk/ --dep-target=10.6 --universal-archs=intel It looks like it built correctly: robin-mbp:bin robince$ file ./python2.6 ./pyth

Re: [Pythonmac-SIG] [wxPython-users] Re: building wxPython on Mac OS X (10.5)

2009-09-24 Thread Robin Dunn
t embedded name be relative to the executable or the image loading the dylib (the .so extension modules in this case) by using "@executable_path" or "@loader_path" in the path name. -- Robin Dunn Software Craftsman http://wxPython.org ___

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-02 Thread Robin Dunn
ed to a full desktop app. Since this requirement will appear in some specific version of Python it will be easy to make the API call be conditionally compiled. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!

Re: [Pythonmac-SIG] wx Window Flashes and Closes Immediately

2009-02-02 Thread Robin Dunn
Christopher Barker wrote: Cody Precord wrote: To see the traceback of errors you should create the app object with wx.App(False) to disable redirection of output, so tracebacks will be printed to the console. I thought Robin said that this default was going to be changed, so that newbies

Re: [Pythonmac-SIG] wx Window Flashes and Closes Immediately

2009-02-01 Thread Robin Dunn
ssing here? Show is spelled with a capital S. If you pass redirect=False to the wx.App constructor then you'll be better able to see any problems that happen in the initialization code. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Rela

Re: [Pythonmac-SIG] py2app wxpython different behavior

2008-12-12 Thread Robin Dunn
this is happening? Thanks. Please give us more details about what is rendered differently, what it looks like in each case, etc. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! ___ Pythonmac-SIG

Re: [Pythonmac-SIG] PyColourChooser don't works

2008-12-01 Thread Robin Dunn
/ -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Error compiling with py2app

2008-11-10 Thread Robin Dunn
own load command: %d" % (cmd_load.cmd,)) ValueError: Unknown load command: 27 > /Users/danr/Projects/pyTunesQT/build/bdist.macosx-10.3-i386/egg/macholib/MachO.py(178)load() You need a newer version of macho lib. Do: easy_install macholib==dev -- Robin Dunn Software Craftsman http:/

Re: [Pythonmac-SIG] py2app and plist entries

2008-10-31 Thread Robin Dunn
erated one? Finally, it also says --plist can be a "plistlib.Plist". What's that? You've been working on Editra so you can look in its setup.py for an example. Basically you create a dictionary and pass it to setup() as one component of the options dictionary parame

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-20 Thread Robin Dunn
Christopher Barker wrote: Robin Dunn wrote: Given that I'm Mr. wxPython I'm sometimes a bit embarrassed to admit that I've been using WingIDE more and more lately (transitioning from Emacs) instead of one of the wx-based editors. Almost every day I cuss at it for being so b

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-20 Thread Robin Dunn
omeone besides me *much* easier to deal with than it would have been otherwise, so I just grit my teeth and live with the ugliness. P.S. If anybody can convince Wingware to sponsor a wx port of WingIDE I know somebody who would be willing to work on it. ;-) -- Robin Dunn Software Craftsm

Re: [Pythonmac-SIG] Problem with wxPython and wx-config during build of 3rd party lib

2008-09-30 Thread Robin Dunn
WX_CONFIG=/usr/local/lib/wxPython-unicode-2.8.8.1/bin/wx-config Instead of putting it in the env add it to the setup.py command-line. Or if that can't be done for some reason then temporarily alter your PATH so /usr/local/lib/wxPython-unicode-2.8.8.1/bin comes before /usr/bin. -- Robin

Re: [Pythonmac-SIG] semi_standalone option broken in py2app + Leopard Python?

2008-07-01 Thread Robin Dunn
base, '%s'))\n" % distbase) This probably isn't enough to use as a base for general purpose egg support in py2app, but it can at least be used as a stopgap measure until somebody who knows what they are doing can add support for it in the right way. -- Robin Dunn Software Cr

Re: [Pythonmac-SIG] newbie py2app problem - "ImportError: no module named code"

2008-04-05 Thread Robin Dunn
; > It should work if you use "import wx" and not "from wx import *". The problem has something to do with the build subpackage being included in the __all__ list in wx/__init__.py, but since doing the import "pr

[Pythonmac-SIG] /Library/Python/... path in MacPython

2008-02-29 Thread Robin Dunn
s who want to support both ApplePython and MacPython. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pyth

Re: [Pythonmac-SIG] How to print unicode to OS-X Terminal.app

2008-02-14 Thread Robin Dunn
Kent Johnson wrote: > > I guess the conversion actually happens in sys.stdout.write(), not in print. That's good to know, thanks for trying it out. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax wi

Re: [Pythonmac-SIG] How to print unicode to OS-X Terminal.app

2008-02-14 Thread Robin Dunn
Christopher Barker wrote: > Robin Dunn wrote: >> Just replace sys.stdout with an object with a write() method that does >> what you want. > > I don't think that will do it, as "print" will have already converted > the object to a string, and it does

Re: [Pythonmac-SIG] How to print unicode to OS-X Terminal.app

2008-02-14 Thread Robin Dunn
function, so I don't know how to > do that. I may start using a utility function like that for my code, though. Just replace sys.stdout with an object with a write() method that does what you want. If you need to use the original

Re: [Pythonmac-SIG] Key Bindings on cross platform apps.

2008-02-01 Thread Robin Dunn
n MetaDown(); #else return ControlDown(); #endif } For explicit accelerator tables there is a wx.ACCEL_CMD identifier that works the same way, it's equivalent to wx.ACCEL_CTRL on Windows and GTK and to the command key on Mac. -- Robin Dunn Software Craftsman htt

Re: [Pythonmac-SIG] py2app and command line options

2008-01-30 Thread Robin Dunn
application (__main__): > > I can't do that, 'cause when it's not in an app bundle, that would break > something. I could put it in a if frozen: clause, I suppose. Or this: if len(sys.argv) > 1 and sys.argv.startswith('-psn'): del s

Re: [Pythonmac-SIG] Path Issues when using Swig (and OSX Leopard)

2008-01-15 Thread Robin Dunn
here it is, you can just ask Python: python -c "import sys,os; print os.path.join(sys.prefix, 'include/python%s' % sys.version[:3])" ;-) -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! _

Re: [Pythonmac-SIG] py2app 0.4.2 recipe errors

2008-01-15 Thread Robin Dunn
xPython glcanvas. > So I conclude that building apps with OpenGL and wxPython presumably > with py2app? > If that's the case could anyone comment on which versions of py2app, > setuptools etc.? > wxPython's demo.app uses the old bundlebuilder.py tool in such a way

Re: [Pythonmac-SIG] newbie Mac switcher trying to set up django on Intel MacBook Pro Tiger

2008-01-03 Thread Robin Dunn
/lib/python2.5/lib-dynload', '/Library/Python/2.5/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC', '/Users/robind/Library/Python/2.5/site-packages'] -- Robin Dunn Software Craftsman http://wxPython.org J

Re: [Pythonmac-SIG] newbie Mac switcher trying to set up django on Intel MacBook Pro Tiger

2007-12-23 Thread Robin Dunn
can use wxPython. Yes, that is annoying, >> but > > That should be a documentation bug, either that or their installer > sucks. Yeah, I'm working on it. The current (and only, I think) issue with the installer is that it is pretty dumb about what path it chooses to inst

Re: [Pythonmac-SIG] Py2app and shared libraries under Leopard

2007-12-18 Thread Robin Dunn
and" then you need to get a newer version of the macholib package or egg. -- Robin Dunn Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython! ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] easygui

2007-10-06 Thread robin meier
code. maybe this helps... best, robin On 5 Oct 2007, at 20:45, adam naples wrote: I've had some occasions to fight with getting audio working like I want in visionegg and had no problems beyond the normal 'nothing- working-like-you-expect-the-first-time'. I've been using

[Pythonmac-SIG] numarray and py2app

2006-06-25 Thread robin meier
your help, robin ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] py2app error

2006-06-23 Thread robin meier
52104 / 5223792) what's wrong? any help appreciated. thanks in advance, robin ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] webbrowser module bug on os x?

2006-05-25 Thread robin meier
at could i do, so new links are opened in the already existing browser window? thank you in advance. robin ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Wxsftp

2006-05-24 Thread Robin Ang
with some solution? Any help would be appreciated Thanks Regards, Robin __ Do you Yahoo!? New and Improved Yahoo! Mail - 1GB free storage! http://sg.whatsnew.mail.yahoo.com

[Pythonmac-SIG] ANN: wxPython 2.6.2.1

2006-01-11 Thread Robin Dunn
Announcing -- The 2.6.2.1 release of wxPython is now available for download at http://wxpython.org/download.php. There have been many enhancements and fixes implemented in this version, listed below and at http://wxpython.org/recentchanges.php. What is wxPython? - wxPyt