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
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
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
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
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'
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
-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.
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
-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
-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
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
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
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
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
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
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
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
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
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
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
game development for
the platform.
Kent
--
----
Kent Quirk I'm making a game about global warming.
Game ArchitectTrack the progress at:
CogniToy
omments.pl?sid=194281&threshold=1&commentsort=0&mode=thread&cid=15927703>
>
>
> ----
>
> ___
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> h
38 matches
Mail list logo