I'm thinking that I must be doing something simple wrong... hopefully
that's the case.
I downloaded the Python 2.4 source and tried to run a basic ./configure
to see what I get. What I got was this error:
checking for C++ compiler default output file name... configure: error:
C++ compiler cann
f the way to be sure that those weren't
causing any grief.
Kevin
Kevin Dangoor wrote:
I'm thinking that I must be doing something simple wrong... hopefully
that's the case.
I downloaded the Python 2.4 source and tried to run a basic
./configure to see what I get. What I got w
wrote:
Reinstall Xcode and/or make sure you aren't using Fink or something
which may have installed an alternate compiler (make sure "which cc"
and "which gcc" point to /usr/bin).
On Dec 23, 2004, at 10:23 AM, Kevin Dangoor wrote:
Err, while this might be enough info for
On Dec 23, 2004, at 10:23 AM, Kevin Dangoor wrote:
Err, while this might be enough info for someone to go on, I just
realized that there's not much there...
I'm running Mac OS 10.3.6. I have XCode/Developer Tools installed,
though that didn't seem to make any difference. I even tr
First of all, thanks for all of the work put into py2app! Hard to
imagine how much time it would have taken me to figure out all of the
various things that it does (particularly since I'm new to Mac development).
I was just going to rebuild an app and ran into this error:
File "/purelib/py2app/
One more bit of relevant info... I just noticed that the file in
question was a ".ptl" file (from Quixote) that was compiled into a ".pyc".
Kevin
Kevin Dangoor wrote:
First of all, thanks for all of the work put into py2app! Hard to
imagine how much time it would have taken
Bob Ippolito wrote:
On Dec 28, 2004, at 12:14 PM, Kevin Dangoor wrote:
Kevin Dangoor wrote:
I don't see _py_suffixes defined anywhere...
One more bit of relevant info... I just noticed that the file in
question was a ".ptl" file (from Quixote) that was compiled into a
&quo
I'm trying to mix Twisted and a Mac interface. I'm using PyObjC 1.2
and Twisted's trunk as of a few days back. All of this with Python 2.3.
The combo appeared to be working until this morning. Intriguingly, the
problem appeared when I added Cheetah (the template engine) to the mix.
If I remo
ear if I'm setting up event handling properly...
Kevin
Kevin Dangoor wrote:
I'm trying to mix Twisted and a Mac interface. I'm using PyObjC 1.2
and Twisted's trunk as of a few days back. All of this with Python
2.3. The combo appeared to be working until this morning.
Intr
ear if I'm setting up event handling properly...
Kevin
Kevin Dangoor wrote:
I'm trying to mix Twisted and a Mac interface. I'm using PyObjC 1.2
and Twisted's trunk as of a few days back. All of this with Python
2.3. The combo appeared to be working until this morning.
Intr
Wow. That was quick!
I didn't realize that there was a gotcha with the imports. That was just
a premature optimization, so I can easily avoid that :)
Thanks for your help... that's certainly not the kind of thing I would
have just guessed...
Kevin
Bob Ippolito wrote:
(Kevin sent me the test off
plicationDidFinishLaunching: (pygame, in particular) before. I have
no idea if I should be blaming Cheetah, PyObjC or Python 2.3.0
(haven't tested with 2.4 or CVS), but I will try and remember to dig
in later.
-bob
On Jan 14, 2005, at 16:56, Kevin Dangoor wrote:
Wow. That was quick!
I didn'
Fun indeed. Given that I'm not using WebWare, it would most definitely
be picking up PyObjC's WebKit. Maybe there's something to be said for
Java's package naming conventions :)
The py2app issue I was having was far less exciting. Cheetah seems to
like dumping templates into /tmp and it drops i
Bob Ippolito wrote:
On Feb 14, 2005, at 12:09 PM, has wrote:
My preferred IDE architecture would be built on a completely
component-oriented architecture. That way it can ship with the
minimal components required to get started, and users can add,
upgrade and remove components as and when they n
This question seems to come up a lot. Here's my quick summary:
1) EasyDialogs is nice but can only do really, really simple things.
2) If you're strictly doing Mac work, pyobjc is your best bet, because
you can do basically anything that can be done in Objective-C. You
can really use the Mac GUI t
For a few reasons, I am moving my app to Python 2.4. It runs fine when I
use py2app -A, but it doesn't work when I try to build a full standalone
application. At first, "doesn't work" meant that Twisted's cfreactor
couldn't find _CarbonEvt. If I specifically ask to include _CarbonEvt, I
get a b
Bob Ippolito wrote:
On Feb 23, 2005, at 9:08, Kevin Dangoor wrote:
For a few reasons, I am moving my app to Python 2.4. It runs fine
when I use py2app -A, but it doesn't work when I try to build a full
standalone application. At first, "doesn't work" meant that Twisted's
Bob Ippolito wrote:
On Feb 23, 2005, at 9:08, Kevin Dangoor wrote:
For a few reasons, I am moving my app to Python 2.4. It runs fine
when I use py2app -A, but it doesn't work when I try to build a full
standalone application. At first, "doesn't work" meant that Twisted's
Bob Ippolito wrote:
On Feb 23, 2005, at 10:18, Kevin Dangoor wrote:
In Python, I have narrowed this down to here:
cfreactor.CFReactor.getRunLoop
runLoop = nsRunLoop.getCFRunLoop()
Do the PyObjC Examples/Twisted examples work in your environment?
I tried WebServicesTool and had
Bob Ippolito wrote:
I probably won't be able to look at this until tomorrow, but try
comparing sys.modules.keys() between your environment with py2app -A
and py2app.
in getRunLoop, I added print sys.modules.keys() and then ran the Web
Services Tool with and without -A.
Without -A (normal standa
Sounds like you might not have Xcode/Developer Tools installed. They
don't come installed by default.
Kevin
Jason Van Anden wrote:
Hi,
I was attempting to install mxdatetime on a mac mini - but it fails
when I run setup. Repeated messages tell me it was unable to execute
gcc. I unzipped the r
Given the buzz that Tiger is coming in a month, I was curious about
whether it's possible to create Python apps on Tiger and run them on
Panther (assuming, of course, that I'm not using Tiger features). I'm
already using my own Python build, if that makes any difference.
I'd really like to upgr
Bob Ippolito wrote:
My recommendation is to:
- Build your framework on the minimum target platform
- Copy it over to your workstation
- Use bdist_mpkg to build installer packages for the extensions you
use from the minimum target platform
- Install them on your workstation as needed
So, I gues
Just an FYI to anyone else who sees this... I've tarred up the files for
John.
Kevin
John Hunter wrote:
I was in the process of getting ready for a talk this morning at 9AM,
one that was largely a demo of python for scientific computing, when I
inadvertently did
> sudo rm -rf
/System/Library/Fr
On Mar 31, 2005 2:52 AM, Lee Cullens <[EMAIL PROTECTED]> wrote:
> TextWrangler is (to me) too much like its big brother - a do-all
> "develop it yourself" sandbox. Great if that's what your into, but a
> sidetrack to me. For the moment I'll stick with the simpler
> SubEthaEdit which I can even us
I have an application that uses EasyDialogs and is packaged up with
py2app. When I run it, it seems to have trouble finding dialogs.rsrc:
File "EasyDialogs.pyc", line 193, in AskYesNoCancel
File "EasyDialogs.pyc", line 49, in _initialize
File "macresource.pyc", line 63, in need
macresource.R
b the directory from there)
Kevin
On 5/12/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> I have an application that uses EasyDialogs and is packaged up with
> py2app. When I run it, it seems to have trouble finding dialogs.rsrc:
>
> File "EasyDialogs.pyc", line 193,
t os
> import EasyDialogs
> plat_mac = os.path.dirname(EasyDialogs.__file__)
> rsrcFile = os.path.join(plat_mac, 'dialogs.rsrc')
> setup(
> data_files=[rsrcFile],
> ...
> )
>
> On May 12, 2005, at 3:18 PM, Kevin Dangoor wrote:
>
> > I should
On 5/22/05, Lee Cullens <[EMAIL PROTECTED]> wrote:
> What worked (at least so far) was to put a .pth file (containing /
> Users/Chinook/PythonProjects/MyUtilities) in /Library/Frameworks/
> Python.framework/Versions/2.4/lib/python2.4/site-packages
Since this is a user-specific path, you should put
On 5/24/05, Kenneth McDonald <[EMAIL PROTECTED]> wrote:
> I know that Apple includes SQLite with Tiger. My question; what is the
> 'best' way to install pysqlite, with the python 2.4 upgrade, under
> Tiger. Specifically;
>
> - should I install a newer version of SQLite, or use the one Apple provid
On 7/12/05, Mathieu Renauld <[EMAIL PROTECTED]> wrote:
> Hi!
> First forgive me for the language mistakes (I'm french)!!
Your English is more understandable than some native English writers
I've seen :)
>
> I try to make a program using wxPython and Python 2.4.
> There's a function which creates
I encountered this as well. I *think* something needs to change within
zope.interface to work with gcc 4.x. Anyhow, all you need to do is:
sudo gcc_select 3.3
Kevin
On 7/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Maybe I should take this to one of the Twisted or Zope lists, but t
I have been packaging up some of my python packages in eggs:
http://peak.telecommunity.com/DevCenter/PythonEggs
Basically, an egg has everything you need to use a package,
ready-to-run... including binary versions of extensions. It's a nice
format because it enables people to just run an "easy_ins
On 7/19/05, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> Pick out the sw_vers function from here:
> http://svn.red-bean.com/bob/py2app/trunk/src/bdist_mpkg/tools.py
That is more comforting than going with the Darwin version. I'll wrap
that up for Phillip and send him a patch.
Kevin
_
On 7/20/05, Michael Maibaum <[EMAIL PROTECTED]> wrote:
> On 20 Jul 2005, at 13:36, Kevin Dangoor wrote:
> > That is more comforting than going with the Darwin version. I'll wrap
> > that up for Phillip and send him a patch.
>
>
> Note that the 3 or 4 people
On 7/20/05, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
> You don't mention the implementation of macosx_vers, but instead of
> calling /usr/bin/sw_vers you could also use platform.mac_ver,
> something like:
Ahh, I didn't know about that. macosx_vers is basically the sw_vers
function that Bob point
Actually, PyObjC is about as documented as it needs to be,
particularly if you start with Bob's more recent intro doc:
http://bob.pythonmac.org/archives/2005/07/05/pyobjc-first-steps/
Once you learn the PyObjC conventions, the only trickery at that point
is being able to read a bit of Objective-C
I've been looking through the docs on Apple's site a bit today, and
I'm not entirely certain where I *should* be looking. All I need is a
pointer to the correct terminology for what I'm trying to do (and if
PyObjC offers any specific bits that I should be aware of), and I
should be good to go from
On 8/5/05, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> You may have to do that with a get URL apple event handler, see here:
> http://developer.apple.com/documentation/Cocoa/Conceptual/
> Scriptability/Concepts/ScriptabilityOverview.html
> (you shouldn't need any Carbon)
I had actually been to that
On 8/5/05, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> You may have to do that with a get URL apple event handler, see here:
> http://developer.apple.com/documentation/Cocoa/Conceptual/
> Scriptability/Concepts/ScriptabilityOverview.html
> (you shouldn't need any Carbon)
Before I go chasing around t
Less than 5 minutes ago, I said:
> I'm testing by just doing "open " at the
> commandline, which does bring my app to the front but does not call my
> handler method. Assuming all of the above is kosher, I'll do some more
> digging around to make sure that this is, in fact, the specific
> handler I
> $ open pydoc:///os.open
>
> This will open the pydoc for os.open in the applet. I guess a href="pydoc:///os.open"> in a HTML file will also work.
Wow. That should be a great example for me! Thanks!
>
> The important issue that kept me guessing for a while is that the
> AppleEvent is GURL
On 8/7/05, Ronald Oussoren <[EMAIL PROTECTED]> wrote:
> > Here's the objC example from Apple's doc:
> > [appleEventManager setEventHandler:self
> > andSelector:@selector(handleGetURLEvent:withReplyEvent:)
> > forEventClass:kAEInternetSuite andEventID:kAEISGetURL];
> >
> > Here's my translation to P
On 8/7/05, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> > I was confused by @selector(handleGetURLEvent:withReplyEvent:) and the
> > error message I got when I tried my first intuition. My first attempt
> > was to just pass my Python method, but that complained saying that SEL
> > was expected instead
I believe I ran into this before, but I didn't document it properly so
I'm doomed to repeat it. (I'll document it this time!)
I have an app that is running fine (and py2app is building it fine) on
Tiger. I'm working on getting a Panther build put together. On both
Tiger and Panther, I'm using Bob'
hen later
tried to copy from /Library/Firebird.framework which had symlinks in
place of some of those files. That's where it failed, because
copy_tree doesn't overwrite files with symlinks.
Kevin
On 8/12/05, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> I'm using the embedde
On 8/31/05, Simon Brunning <[EMAIL PROTECTED]> wrote:
> On 8/31/05, Craig Amundsen <[EMAIL PROTECTED]> wrote:
> > Did you mean #! /usr/local/bin/python
> > or #! /usr/local/bin python ?
>
> I meant the latter - the first version works for me too. Thanks.
>
> I extrapolated "#! /u
> On Dec 6, 2005, at 11:07 AM, Louis Pecora wrote:
>
>
> I see there are many other approaches (SWIG, Pyrex, Psyco -- some may
>
> not be available on the Mac), so I thought I would start here to ask
>
> what people in this email list use and recommend.
Earlier in the year, Phillip Eby was optimiz
48 matches
Mail list logo