Re: [Pythonmac-SIG] Python development on OSX
On 1/20/11 4:51 PM, Adam Morris wrote: I want one programming language that lets me solve my real problems. That to me, is what Python embodies. yup -- it is applicable to a VERY wide range of problems. But I'm still confused on some major points on what it offers. I use Xcode and Cocoa-Python, and IMO it works great. Is that using py2app under the covers? This is another reason not to install a non-system Python; it sometimes screws up apps built using Xcode and Python. I'm trying really hard to unpack this. I can't use XCode and the py-objc bridge with my installed python 2.7 setup? (Installed isn't quite the right word, I know.) Why not? I guess it's because something is hard-coded somewhere ... I don't particularly need XCode but I really want to understand this. You can certainly use pyObjC without XCode. I've never tried to do python development in XCode, from the little I've read here it never seemed to be well supported. Maybe someone here can tell you how to use XCode / pyObjC for app development. Note that Apple has added a couple proprietary bits to its python install, maybe XCode relies on those. I would love to hear more about what you can and can't do with XCode. Note that if XCode has a way to build a self-contained App, and it uses Apple's system python, you are going to either get something that won't work on older systems, or you are going to be using an older python. You can't re-distribute Apple's python. Also -- Apple has NEVER upgraded a python it delivered. Most of the bugs fixed between X.1 and X.5 versions of python are unlikely to bite you, but I had at least one that did -- when I found it, it had been fixed in the python.org release, but not in Apples -- and Apple has still not fixed it -- so I don't know what I'd have done if I'd be confined to Apple's python. Yes, I'm confined to Apple's OS - but at least they do update that! And Bill's right -- if you want to support other platforms, wxPython or pyQT is the way to go. (pyGTK is so non-native on the Mac I wouldn't consider it, and I don't think pyGUI is very mature yet) (the binaries for wxPython work with both the Apple and python.org builds -- 32 bit only for the moment) -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/ORR(206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception chris.bar...@noaa.gov ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] Python development on OSX
Charles Hartman co...@conncoll.edu wrote: it would seem to be short-sighted for anyone interested in Python on the Mac not to support py2app as fully as possible. You calling me short-sighted, Charles? That's OK -- it's true, you know; I've been wearing thick glasses since I was a kid :-). But I don't know that it has much to do with py2app. I think py2app is great, and I believe I even used it, once -- wanted to make a Preference Pane with Python, and couldn't figure out how to do it otherwise. But in general I've not needed it -- I just use Xcode and the system Python, and there's no need to bundle another Python with that approach. I should probably figure out how to use py2app with that approach, though; it might be more bullet-proof. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
Re: [Pythonmac-SIG] Python development on OSX
On Fri, Jan 21, 2011 at 1:40 PM, Bill Janssen jans...@parc.com wrote: Charles Hartman co...@conncoll.edu wrote: it would seem to be short-sighted for anyone interested in Python on the Mac not to support py2app as fully as possible. You calling me short-sighted, Charles? That's OK -- it's true, you know; I've been wearing thick glasses since I was a kid :-). But I don't know that it has much to do with py2app. Oh, you should see my glasses. Are you telling me py2app didn't cause this??? I think py2app is great, and I believe I even used it, once -- wanted to make a Preference Pane with Python, and couldn't figure out how to do it otherwise. But in general I've not needed it -- I just use Xcode and the system Python, and there's no need to bundle another Python with that approach. I should probably figure out how to use py2app with that approach, though; it might be more bullet-proof. Bill My point was just that a lot of us can't use Python the way or you, or aren't willing or likely to. We're just application programmers, not systems programmers. And we also can't afford to code only for Mac. I write educational programs, and a lot of my (benighted) students persist in using Windows. And then, my more argumentative point was that Python needs us: we're the ones who bring the wider attention and the critical mass. Maybe I don't understand how the support of programming languages works, but I know there are beautiful languages out there orbiting lonely stars because people admired them only from afar. I'd be interested to know, if anyone knows: why DID Apple start including Python? Charles ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG