[Pythonmac-SIG] Guidance, please?

2005-04-01 Thread Kent Quirk
Hi, folks.   I’m porting a commercial Python/C++ application from Windows to Mac, and trying to preserve 95% of the code base as completely cross platform. It’s an OpenGL application that constructs its own GUI in the window, so I don’t need ANY UI widgets. At all.   I should warn you

RE: [Pythonmac-SIG] Guidance, please?

2005-04-01 Thread Kent Quirk
Thank you for the reply. > Well, Carbon is perfectly native.. if it has issues, then you're doing > something wrong. However, Carbon is a pain, and I would never > recommend it for new code -- especially if you don't know your way > around. I'm beginning to believe that. :-) > >  This is

[Pythonmac-SIG] strange py2app problem?

2005-04-28 Thread Kent Quirk
Title: strange py2app problem? I've spent all day trying to get my rather large port of a Python/C++ app to package properly using py2app. Let's just say I've learned a lot. :-) But not quite enough, apparently. I now have a packaged .app with (I hope) everything I need inside it. If I run

[Pythonmac-SIG] Upgraded to 2.4 and can't make it work

2005-05-25 Thread Kent Quirk
We’ve been building our product using py2app 0.2 on Panther with Apple’s Mac python. That has worked for some time, but as has been pointed out here many times, relying on that is not the safest way to ship things to real customers.   The app is large with several C++ extensions using bo

Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work

2005-05-25 Thread Kent Quirk
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kent Quirk Sent: Wednesday, May 25, 2005 12:20 PM To: pythonmac-sig@python.org Subject: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work We've been building our product using py2app 0.2 on Panther with Apple'

Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work

2005-05-25 Thread Kent Quirk
m the executable within the app. Any other ideas? Kent -Original Message- From: Bob Ippolito [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 11:42 PM To: Kent Quirk Cc: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work On May 25,

Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work

2005-05-26 Thread Kent Quirk
EMAIL PROTECTED] Sent: Thursday, May 26, 2005 1:33 AM To: Kent Quirk Cc: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work You definitely have something that's linking to Python 2.3. Try DYLD_PRINT_LIBRARIES and/or run it under gdb and back

Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work

2005-05-27 Thread Kent Quirk
your way along it for the first time. Kent -Original Message----- From: Bob Ippolito [mailto:[EMAIL PROTECTED] Sent: Thursday, May 26, 2005 1:48 PM To: Kent Quirk Cc: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Upgraded to 2.4 and can't make it work As I said befor

Re: [Pythonmac-SIG] SetSystemUIMode in python?

2005-05-27 Thread Kent Quirk
Bob wrote: >* SWIG (ughh) >* Write C++ and use Boost.Python (ugh) >* Python C API directly (not really *that* bad) Well, I've looked at all of these, and I've gotta disagree with the Ugh on Boost.Python. At least for large projects. If (like me) you have large quantities of existing C++ to deal wi

Re: [Pythonmac-SIG] Newbie....(for now)

2005-06-15 Thread Kent Quirk
The easiest way to know if you have a package is to try to import it. Don't forget that Python has a command-line interpreter. Just run it and type "import SciPy" and see if it works! If you want to learn idiomatic Python one of the best places to go is the Python Cookbook. I'd recommend buying th

Re: [Pythonmac-SIG] Some questions about going to MacOS X 10.4

2005-08-24 Thread Kent Quirk
To this end, Bob, what would it take to make it possible to create 10.3-capable builds from 10.4? In other words, is it technically feasible to support this? If so, what has to be changed? If you could document what needs to happen, maybe some of the rest of us could tackle the pieces. Especia

Re: [Pythonmac-SIG] Baffling if statement

2005-09-22 Thread Kent Quirk
Title: Baffling if statement What are the actual types of temp and Cutoff? Is it possible that you’re not comparing apples to apples?   For example, suppose you don’t realize that one of your values is a string?   >>> t1="0.19" >>> t2=0.24 >>> print t1 0.19 >>> print t2 0.24 >>> p

[Pythonmac-SIG] Fat Python?

2005-10-07 Thread Kent Quirk
Title: Fat Python? We're trying to get our application ready for the forthcoming Intel Macs, and we'll need to have a fat binaries version of Python and support for it in py2app. We have successfully built an intel version of the Python.org version of Python 2.4 using gnu readline, but we ha

Re: [Pythonmac-SIG] [q] Help with choosing "right" python port

2005-10-26 Thread Kent Quirk
Title: [Pythonmac-SIG] [q] Help with choosing "right" python port The thing to realize is that IDLE is a TK application…and so is the turtle graphics. They conflict. There are apparently workarounds, but I’m not a TK weenie. There’s some information here:   http://rlai.cs.ualberta.ca/RLAI

Re: [Pythonmac-SIG] Selecting in BBEdit & Python Indenting style(spaces)

2005-11-29 Thread Kent Quirk
Just because there seems to be an orgy of people agreeing that Tabs are the One True Way, I feel a need to point out that there are those of us who fervently believe that Tabs Are Evil. The reason is that tabs are interpreted differently in different places, and they're indistinguishable from sp

[Pythonmac-SIG] Mac Intel Python status?

2006-01-23 Thread Kent Quirk
What’s the current status of any semi-official build of Python on Intel?   We actually need to build it without readline support, haven’t been able to figure out how (configure --without-readline doesn’t seem to do it). It builds if we download Gnu readline and install it, but without tha

Re: [Pythonmac-SIG] ANN: ActivePython 2.4.2.10 is now available

2006-01-24 Thread Kent Quirk
In the hopes of avoiding some redundant work...I happen to be sitting in a workshop at the Apple campus as I speak, and one of the Apple engineers here has just modified the Apple 2.3.5 build system to work with 2.4.2, and to build a Universal version of Python 2.4.2. I haven't run a full suite of

Re: [Pythonmac-SIG] MacPython Icon

2006-02-13 Thread Kent Quirk
I've just been talking with our group's artist about it. He's very talented. We've got a few good ideas -- he's going to noodle around tonight and I'll probably be able to post a couple of images tomorrow. Kent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [Pythonmac-SIG] Build script for Universal Python

2006-02-14 Thread Kent Quirk
My complaint about that one is that it’s far too big for an icon, and shrunk to icon size it will be illegible.   Here's a Monty Pythonic idea for an icon worked up by our artist:     There are several variations possible of this idea, including incorporating an apple sticking out o

Re: [Pythonmac-SIG] Fwd: I may have wrecked my python

2006-02-26 Thread Kent Quirk
Yes, your message arrived. Several times. :-) I'm guessing you've probably started stuffing things into directories where you shouldn't be messing around. In general, on OS X, if it starts with /System or /usr, leave it alone, except for /usr/local. In particular, don't go messing with the system

Re: [Pythonmac-SIG] Job postings - allow or not?

2006-03-07 Thread Kent Quirk
I think the occasional Python-related job posting is Just Fine. I'd be bugged if there were too many of them, but I wouldn't kick them to another list unless and until there were so many that they formed a measurable fraction of the list traffic. At which point I'd rejoice at Python's success.

Re: [Pythonmac-SIG] Question on user's directory ( ~ )

2006-03-18 Thread Kent Quirk
Try this: import os.path os.path.expanduser('~') You might also find a use for os.path.expandvars() Kent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stewart Midwinter Sent: Saturday, March 18, 2006 7:22 PM To: pythonmac-sig@python.org Subje

Re: [Pythonmac-SIG] How to get MacOS X version?

2006-03-29 Thread Kent Quirk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Russell E. Owen Sent: Wednesday, March 29, 2006 1:55 PM How can I get the version of MacOS X within a python program? (e.g. 10.4.5 -- something that is recognizable, rather than the kernel version). P.S.

Re: [Pythonmac-SIG] talking points, Pythonismus

2006-04-10 Thread Kent Quirk
Charles wrote:   ~~ I've been campaigning with the main teacher of programming on my campus -- from my thoroughly non-leveraged position as prof of English -- to consider switching from Java to Python, for all the reasons which will be obvious to everybody here. (The existen

Re: [Pythonmac-SIG] needed: simple gui toolkit with "japaneseinput" support

2006-04-10 Thread Kent Quirk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dethe Elza Sent: Monday, April 10, 2006 1:35 PM To: Gábor Farkas Cc: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] needed: simple gui toolkit with "japaneseinput" support > > so, is there something

Re: [Pythonmac-SIG] needed: simple gui toolkit with "japaneseinput" support

2006-04-10 Thread Kent Quirk
-Original Message- From: Ronald Oussoren [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 4:42 PM To: Kent Quirk Cc: Dethe Elza; Gábor Farkas; pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] needed: simple gui toolkit with "japaneseinput" support >> I ge

Re: [Pythonmac-SIG] Fwd: MacPython icon mockup

2006-04-21 Thread Kent Quirk
Ok, that set just rocks. Nice work. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jacob Rus Sent: Friday, April 21, 2006 10:14 AM To: pythonmac-sig@python.org Subject: Re: [Pythonmac-SIG] Fwd: MacPython icon mockup Zachery Bir wrote: > glenn andreas wro

[Pythonmac-SIG] py2app corrupting libraries

2006-05-10 Thread Kent Quirk
Hi, all.   We have a large mixed Python and C++ application with about a dozen frameworks which cross-reference one another.   We’ve been shipping it for almost a year on PPC Macs using py2app to package things – so we know we have the py2app stuff approximately correct. We’ve been tryi

[Pythonmac-SIG] py2app corrupting libraries -- patch for bug in py2app 2.5

2006-05-23 Thread Kent Quirk
This is a patch and explanation (written by one of my co-workers) related to a question I posted to this list on 5/10. We have a Python application with a number of C++ extension modules, some of which dynamically load other C++ modules, all of which reference additional C++ frameworks we've bui

Re: [Pythonmac-SIG] python and quicktime

2006-06-08 Thread Kent Quirk
Noah Gift wrote: > I am new to python and was interested in writing some python code that > converts image sequences, for example tiff, into Quicktime movies, for > example animation codec. Can anyone point me in the right direction > to begin my research? It would be nice to not use pyobjc as

[Pythonmac-SIG] Building universal PyOpenGL

2006-06-21 Thread Kent Quirk
Hi. I got my new MacBook and looked on pythonmac.org for prebuilt packages for universal python 2.4.3. I've got wxPython and it seems to work, but I also need PyOpenGL, and it's not listed up there. So I got the source and I'm trying to build it. The problem is that it's not building -- many of

Re: [Pythonmac-SIG] Building universal PyOpenGL

2006-06-22 Thread Kent Quirk
Ronald Oussoren wrote: > > On 22-jun-2006, at 5:11, Kent Quirk wrote: > >> Hi. I got my new MacBook and looked on pythonmac.org for prebuilt >> packages for universal python 2.4.3. I've got wxPython and it seems to >> work, but I also need PyOpenGL, and it's

Re: [Pythonmac-SIG] build matplotlib on 10.3.9 without a bus error?

2006-07-05 Thread Kent Quirk
Ronald Oussoren wrote: > > On Jul 5, 2006, at 6:04 AM, Bob Ippolito wrote: > >> >> On Jul 4, 2006, at 8:26 PM, Russell E Owen wrote: >> >>> At 4:43 PM -0700 7/3/06, Bob Ippolito wrote: On Jul 3, 2006, at 4:19 PM, Russell E. Owen wrote: > I'm trying to build on a PPC MacOS X 10.3.9 sys

Re: [Pythonmac-SIG] Using SWIG, C++, and OS X

2006-07-06 Thread Kent Quirk
Siddartha Krishnan wrote: > I'm new to using SWIG for python. I am having several problems > creating a C++ extension module for python. I am using OS X 10.4 with > python 2.4 and SWIG 1.3.29 (using darwinports). > > I can use SWIG and distutils in order to make a C extension module > for pyt

[Pythonmac-SIG] building universal pysqlite?

2006-08-22 Thread Kent Quirk
I'm trying to construct a current universal version of sqlite and pysqlite. I've got pysqlite building properly (which isn't hard!), but it was using the current (old -- 3.1.3) version of sqlite on my system, which is incompatible with the version I'm using on another platform. So now I'm tryin

Re: [Pythonmac-SIG] How to create a desktop alias to run a python file?

2007-03-23 Thread Kent Quirk
Jack Jansen wrote: > On 20-mrt-2007, at 17:30, Alfred Morgan wrote: > >> From: Stani's Python Editor <[EMAIL PROTECTED] > >> This is probably very easy, but I don't find how to do it. I want to >> execute this command if an user clicks on the icon of the alias on the >> desktop: >> >> /usr/bin/p

Re: [Pythonmac-SIG] not mac related but OLPC

2007-04-01 Thread Kent Quirk
game development for the platform. Kent -- ---- Kent Quirk I'm making a game about global warming. Game ArchitectTrack the progress at: CogniToy

Re: [Pythonmac-SIG] looking for a python Mac developer for freelance work

2007-05-02 Thread Kent Quirk
omments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703> > > > ---- > > ___ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > h