[Pythonmac-SIG] appscript Python script preventing logout

2008-12-16 Thread Bill Janssen
I'm having a bit of a problem with a Python script I'm running. It sits in a loop and periodically asks System Events what's going on, via appscript. The use of appscript turns it into a foreground process, in the terminology used in

[Pythonmac-SIG] using appscript to add a login item?

2008-12-03 Thread Bill Janssen
I'm trying to add a login item in an installer, and I thought using appscript would be the simplest way. from appscript import * a = app(System Events) a.login_items() Sure enough, a display of items. But how do I create a new one and add it? Bill

Re: [Pythonmac-SIG] using appscript to add a login item?

2008-12-03 Thread Bill Janssen
Bill Janssen [EMAIL PROTECTED] wrote: I'm trying to add a login item in an installer, and I thought using appscript would be the simplest way. from appscript import * a = app(System Events) a.login_items() Sure enough, a display of items. But how do I create a new one and add

Re: [Pythonmac-SIG] Creator, type and other means of file detection

2008-12-01 Thread Bill Janssen
Henning Hraban Ramm [EMAIL PROTECTED] wrote: from LaunchServices import UTGetOSTypeFromString UTGetOSTypeFromString('public.jpeg') 1886741100 hex(1886741100) '0x7075626c' chr(0x70), chr(0x75), chr(0x62), chr(0x6c) ('p', 'u', 'b', 'l') Doesn't seem all that useful. Bill

Re: [Pythonmac-SIG] Creator, type and other means of file detection

2008-11-30 Thread Bill Janssen
Henning Hraban Ramm [EMAIL PROTECTED] wrote: Could you please tell my how I apply the OSType method to an UTI? Something like LaunchServices.UTType.UTGetOSTypeFromString(UTI) ? Well, this is the blind leading the blind, but yes, that looks close to right to me. You can say, from

Re: [Pythonmac-SIG] Building Python 2.3 on Mac OS X 10.5.5

2008-11-30 Thread Bill Janssen
See http://mail.python.org/pipermail/python-dev/2008-March/077380.html. Bill [EMAIL PROTECTED] wrote: I'm trying to build Python 2.3 on my Mac (OS X 10.5.5) so I can use it simply to test my lockfile package. It configures fine and the basic make step works, but the executable has some sort

Re: [Pythonmac-SIG] Creator, type and other means of file detection

2008-11-29 Thread Bill Janssen
I think the modern Mac equivalent goes something like this: def uti_for_file(path): import os from AppKit import NSWorkspace uti, err = NSWorkspace.sharedWorkspace().typeOfFile_error_( os.path.realpath(path), None) if err: raise Exception(unicode(err)) else:

[Pythonmac-SIG] thanks for PyObjC!

2008-11-07 Thread Bill Janssen
I've been using the Python-Cocoa application template in Xcode 3, and I'm just blown away by how *easy* it is to develop native Cocoa apps with Python. Simply amazing. Nicest UI toolkit I've ever played with, too. Thanks to all of you who worked on it -- it's geaaat! Bill (Oh, and let me

[Pythonmac-SIG] lots of Python-Cocoa errors in XCode console window...

2008-11-01 Thread Bill Janssen
I'm trying a simple Python-Cocoa app, using Xcode and the system Python. I'm getting lots of error messages in my Xcode console of this form: 2008-11-01 15:42:48.000 cocoa-gadget[30179:1233b] *** _NSAutoreleaseNoPool(): Object 0x3f1030 of class NSCFString autoreleased with no pool in place -

Re: [Pythonmac-SIG] appscript and launching apps from background-only Python processes

2008-10-29 Thread Bill Janssen
Ned Deily [EMAIL PROTECTED] wrote: Also note that in 10.4, Apple introduced launchd which is intended to replace the various startup mechanisms including SystemStarter. launchd includes the capability to define system-wide as well as per-user LaunchAgents (triggered by various conditions)

Re: [Pythonmac-SIG] appscript and launching apps from background-only Python processes

2008-10-29 Thread Bill Janssen
Ned Deily [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Bill Janssen [EMAIL PROTECTED] wrote: I'm starting a Python daemon using SystemStarter, and in it I'm using appscript to launch an app (Entourage). I get the following error: CantLaunchApplicationError

[Pythonmac-SIG] appscript and launching apps from background-only Python processes

2008-10-28 Thread Bill Janssen
I'm starting a Python daemon using SystemStarter, and in it I'm using appscript to launch an app (Entourage). I get the following error: CantLaunchApplicationError: CantLaunchApplicationError -606: Application is background-only. If I start the same daemon from the command-line manually, it

Re: [Pythonmac-SIG] module 'New' no in MacPython?

2008-08-06 Thread Bill Janssen
There is a Python standard library module called new, and the Mac filesystem is case-insensitive... Try doing % touch new % touch New % ls Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-19 Thread Bill Janssen
But you can enter raw apple events which is what you want to do. See here for and explanation of the brackets and how to enter them: http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptLangGuide/conceptual/ASLR_raw_data.html Right, thanks, that's helpful. But how do I

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-19 Thread Bill Janssen
Thanks, this is what I needed to know -- I'm hoping to avoid diving into the source. I'll download FF 2 and try it out. appscript.terminology.dump() Not sure what you mean here. appscript.terminology doesn't have a dump function... Bill ___

[Pythonmac-SIG] appscript can't talk to 'System Events'?

2008-06-19 Thread Bill Janssen
So, here's another appscript problem: /Users/wjanssen 2 % python Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:16) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type help, copyright, credits or license for more information. from appscript import * app('System Events').processes() app('System

[Pythonmac-SIG] converting Mac 'path' to file path in appscript?

2008-06-19 Thread Bill Janssen
Can someone tell me how to convert the old Classic-style paths returned from many of the appscript properties to real OS X file paths? Is there some appscript constructor which takes a path as an argument and returns a Unix path? Here's an example: app('Microsoft Word').active_document.path()

Re: [Pythonmac-SIG] appscript can't talk to 'System Events'?

2008-06-19 Thread Bill Janssen
Am 2008-06-19 um 19:16 schrieb Bill Janssen: So, here's another appscript problem: /Users/wjanssen 2 % python Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:16) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type help, copyright, credits or license for more information. from appscript

Re: [Pythonmac-SIG] converting Mac 'path' to file path in appscript?

2008-06-19 Thread Bill Janssen
Here's an example: app('Microsoft Word').active_document.path() u'wolfe:downloads' That should be /downloads. By the way, I'll update the appscript Wiki page with the answers I get. Have a look at mactypes.File and mactypes.Alias:

[Pythonmac-SIG] appscript and Firefox

2008-06-18 Thread Bill Janssen
I'm finally trying to learn appscript, and I thought I'd write a little system monitor that goes around to my various open applications and logs what files/URLs I'm looking at. For Safari, this is easy: print app('Safari').windows.first.current_tab.URL() but I can't figure out how to get the

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-18 Thread Bill Janssen
Thanks, Daniel. It looks impossible from my perspective and knowledge, maybe someone smarter has it figured out. Apparently someone has, from the scrap of Applescript I pointed to before (OK, here it is again: https://bugzilla.mozilla.org/show_bug.cgi?id=427448). Generally, the double

Re: [Pythonmac-SIG] Back-porting Python 2.3 to Mac OS X 10.5?

2008-04-17 Thread Bill Janssen
And I have no idea what configuring with --disable-framework does, or whether Access Grid needs that. Well, that's your real problem. You don't know what kind of Python facilities your application needs. But in general, yes, definitely configure with --disable-toolbox-glue and

Re: [Pythonmac-SIG] PIL for OS-X

2008-04-10 Thread Bill Janssen
cd libpng-* The PIL docs state that you need libz for png support, but not libpng itself -- are those docs out of date? I'm not sure. But I build it anyway for Ghostscript. setenv CPPFLAGS -I${distdir}/include setenv LDFLAGS -L${distdir}/lib setenv CXXFLAGS -I${distdir}/include

Re: [Pythonmac-SIG] PIL for OS-X

2008-04-09 Thread Bill Janssen
On 5 Apr, 2008, at 1:40, Christopher Barker wrote: Can we build a single binary installer for PIL that will work with BOTH Apple's Python2.5 that comes with OS-X 10.5 and MacPython2.5, Universal Framework Build for OS-X 10.3.9 and above. Not really, you'll have to provide two

Re: [Pythonmac-SIG] PIL for OS-X

2008-04-09 Thread Bill Janssen
But you're right, it would be nice to get that down to a single script. I'll get a start on that. Do you think it should download the tarballs too (curl) ? Feel free to start with my script here. I download the tarballs, unpack PIL and all the prereq packages in /tmp, and go to work.

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

2008-01-03 Thread Bill Janssen
* Hotfix for distutils to ensure that distutils builds univeral binaries (32-bit only at first) Is there a bug # for this? Possibly with a patch that we could start with :-? Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

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

2008-01-02 Thread Bill Janssen
Even though I've been an open source developer since long before the word existed I find that I'm getting sick and tired of the reinvent- the-world attitude that is far too common in the open source community. If I am new to Python on the Mac and I've played with Apple Python a little,

Re: [Pythonmac-SIG] [Numpy-discussion] Problem with numpy on Leopard

2007-11-02 Thread Bill Janssen
I think the FUD you refer to concerns a different problem: developing and distributing multiple-component Python apps to multiple users on multiple machines. Well, that's actually what I do, on Tiger. I'll be interested to see how hard it is to do it with the system Python on Leopard.

Re: [Pythonmac-SIG] [Numpy-discussion] Problem with numpy on Leopard

2007-11-01 Thread Bill Janssen
It's not entirely silly. This has been the advice given to app developers on this list and the PyObjC list for years now. It's nice to have a better system Python for quick scripts, but it's still the System Python. It's Apples, for their stuff that uses Python. And it is specific to

Re: [Pythonmac-SIG] ctypes and OS X CF types?

2007-10-23 Thread Bill Janssen
However, it seems that I'll have to unearth and write ctypes definitions for a number of Core Foundation C++ types, in order to do that. Has anyone already done this? Created ctypes definitions for the standard CF types, and made them available somewhere? OK, I've build and run Thomas

Re: [Pythonmac-SIG] ctypes and OS X CF types?

2007-10-23 Thread Bill Janssen
I don't know what's going on there. I'll track it down. Meanwhile, http://wiki.python.org/moin/MacPython/ctypes/CoreFoundation Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] ctypes and OS X CF types?

2007-10-22 Thread Bill Janssen
I'm trying to call the Spotlight system from Python, and I thought I'd try using the ctypes support in Python 2.5 to use the MDQuery framework. However, it seems that I'll have to unearth and write ctypes definitions for a number of Core Foundation C++ types, in order to do that. Has anyone

Re: [Pythonmac-SIG] ctypes and OS X CF types?

2007-10-22 Thread Bill Janssen
Are you asking about struct definitions and such? For example: Yes, that's right. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] ctypes and OS X CF types?

2007-10-22 Thread Bill Janssen
Looks like Thomas Heller has a system for doing this: http://starship.python.net/crew/theller/wiki/Code_generation_for_Mac_OS_X_frameworks Unfortunately, it seems to be somewhat complicated, requiring the checkout and install of cmake, gccxml, and ctypeslib. Bill

Re: [Pythonmac-SIG] ctypes and OS X CF types?

2007-10-22 Thread Bill Janssen
For cross-platform stuff, ctypes is probably the way to go. But if you're targeting OS X anyway, the PyObjC approach has worked well for me. Thanks, but no thanks. I see no need to drag Objective-C (and PyObjC) into this. Anyone generated the CF types for CoreFoundation? Bill

Re: [Pythonmac-SIG] ctypes and OS X CF types?

2007-10-22 Thread Bill Janssen
Unfortunately, it seems to be somewhat complicated, requiring the checkout and install of cmake, gccxml, and ctypeslib. And now svn.python.org is down, so I can't get it anyway. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

[Pythonmac-SIG] ctypes and gestalt

2007-09-25 Thread Bill Janssen
I noticed that ctypes doesn't load on my Mac, due to the fact that I build 2.5.1 with --disable-toolbox-glue, and ctypes critically depends on gestalt, which doesn't get built. The only use for the gestalt dependency is to check the version of OS X. I'd like to replace that with DEFAULT_MODE

Re: [Pythonmac-SIG] ctypes and gestalt

2007-09-25 Thread Bill Janssen
Looks find to me. I say check it in and let people (or buildbots) complain if something breaks. Actually, it's broken. Should be if int(platform.release().split('.')[0]) 8: DEFAULT_MODE = RTLD_GLOBAL We're looking at the version of Darwin, not OS X. Bill

[Pythonmac-SIG] more Carbon modules for new libraries?

2007-09-24 Thread Bill Janssen
Is anyone planning to update the code in Lib/plat-mac/Carbon/ to include more toolbox modules? For instance, one for the MDQuery system would be useful. How would I go about building such an extension? Bill ___ Pythonmac-SIG maillist -

Re: [Pythonmac-SIG] Which python version is supported by PyObjC?

2007-09-14 Thread Bill Janssen
Building from source shouldn't to hard: just download the sources (either from the website or a checkout from the repository) and use 'python setup.py install ' to install, or use 'python setup.py bdist_mpkg --open' to install all extra's as well. Is there any support (a bdist) for the iPhone

Re: [Pythonmac-SIG] Does urllib.getproxies() work in 2.4/2.5 on Mac?

2007-08-19 Thread Bill Janssen
I noticed that with the system Python 2.3.5 on OS X 10.4, the automatic proxy setting doesn't work for urlopen(). It's because the code in urllib.py expects os.name() to return 'mac', and instead it returns 'posix'. Is this fixed in later versions of Python, anyone know? You can test by

[Pythonmac-SIG] Does urllib.getproxies() work in 2.4/2.5 on Mac?

2007-08-18 Thread Bill Janssen
I noticed that with the system Python 2.3.5 on OS X 10.4, the automatic proxy setting doesn't work for urlopen(). It's because the code in urllib.py expects os.name() to return 'mac', and instead it returns 'posix'. Is this fixed in later versions of Python, anyone know? You can test by calling

Re: [Pythonmac-SIG] StuffIt 10 can corrupt applications packaged with py2app

2007-04-25 Thread Bill Janssen
It's a preference. In Stuffit Expander it's called Continue to expand if possible, in the full stuffit it's probably something similar. It's on by default, it's what makes stuffit do the full decoding and unpacking of, say, a .tar.gz. Thanks; I've been wondering what to turn off to

Re: [Pythonmac-SIG] StuffIt 10 can corrupt applications packaged with py2app

2007-04-25 Thread Bill Janssen
Christopher Barker wrote: 1) is there a point-and-click and/or drag-and-drop way to create *.dmgs? There are lots of freeware and shareware apps that do this--FreeDMG is a good one. There are also command-line wrappers for hdiutils. Just google. I don't know about point and click, but a

Re: [Pythonmac-SIG] Fix Mac page again?

2006-09-25 Thread Bill Janssen
I've filed a bug for the website a while back and got no response at all. There were some problems with the main 2.5 pages as well, is looks like almost nobody knows how the new site works :-( I've had some luck changing those pages, I'll see what I can do. Bill

Re: [Pythonmac-SIG] Use py2app: GTK+-based application/addinggenerated files/X11

2006-05-22 Thread Bill Janssen
Indeed the folks at http://developer.imendio.com/wiki/Gtk_Mac_OS_X have ported GTK+ 2 to the Mac. I have it on my still-give-it-a-try list. The sources for this have been folded back into the regular GTK+ source tree. But looking at the gtk-dev mailing list, it looks like it's not quite a

Re: [Pythonmac-SIG] Use py2app: GTK+-based application/adding generated files/X11

2006-05-22 Thread Bill Janssen
* GTK+ requires X11. How can I start X11? What's the best way to launch Gaphor inside X11? Note that by default, X11 is not available on a Mac. It's an optional install. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-16 Thread Bill Janssen
OK, I think I will read the FAQ cover-to-cover so to speak before asking another question :). Now _that's_ good Mac Python Community citizenship. Of course, it's a Wiki, so the next question is: Have you read it lately? Bill ___ Pythonmac-SIG

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Bill Janssen
Being new to Mac I must ask - is it safe to just point python binary links in /bin to match those found in /usr/local/bin or should I be weary of some side affects? Looks like the answer to this question isn't in enough places yet :-). I've updated the FAQ with the answer: Don't try

Re: [Pythonmac-SIG] Installing wxPython with ActivePython and OSX

2006-04-24 Thread Bill Janssen
Well no kidding. I don't personally have access to the python.org server and neither does Ronald. I don't think either of us asked for it to be posted there, it wasn't ready at the time. I'm not sure who's supposed to fix it either. I do. I'll see what can be done. I favor taking

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

2006-04-21 Thread Bill Janssen
http://www.flickr.com/photos/[EMAIL PROTECTED]/132185325/ Great job, the both of you. Let's declare victory and go home. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] on a tangent from new icons

2006-04-21 Thread Bill Janssen
http://hcs.harvard.edu/~jrus/python/prettified-py-icons.png The egg icon looks odd to me. I think it's that the highlights on the logo don't seem to match the lighting direction on the egg. Or maybe the narrow end of the egg is just too wide. Not sure. Bill

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

2006-04-20 Thread Bill Janssen
Which do you prefer? The PYC. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Fixing the documentation...

2006-04-19 Thread Bill Janssen
4.2 Carbon.AH -- Apple Help Do nothing. Much like Apple Help itself :-). Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Fixing the documentation...

2006-04-19 Thread Bill Janssen
Thanks, Has. I was hoping someone would go through that list bit-by-bit. I'm still in favor of simply removing outdated and dangerous docs, but perhaps there's some effective way of thoroughly marking them as bad, instead. Bill ___ Pythonmac-SIG

Re: [Pythonmac-SIG] Mac Python is DEAD

2006-04-19 Thread Bill Janssen
It is annoying that www.python.org/download/mac doesn't mention the universal installer. Could someone please fix that? Will do. Should this replace the dual-installer procedure that's mentioned there? For both 10.3 and 10.4? Bill ___ Pythonmac-SIG

Re: [Pythonmac-SIG] Mac Python is DEAD

2006-04-19 Thread Bill Janssen
NEWS was broken long before the new site. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

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

2006-04-19 Thread Bill Janssen
Jacob, Looks fine. It's interesting to look at the icons for TextEdit, in /Applications/TextEdit.app/Contents/Resources/*.icns. And looking at the XCode icons (/Developer/Applications/Xcode.app/Contents/Resources/*.icns), it looks like the Mac way of doing code icons (like for .py files) is to

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

2006-04-19 Thread Bill Janssen
I found two articles on creating icons that may provide some info. http://www.oreillynet.com/lpt/a/866 and http://www.oreillynet.com/lpt/a/964. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

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

2006-04-19 Thread Bill Janssen
No, I disagree. If there is any text, it should be in dark gray 18 point Lucida Grande, as per the HIG. XCode uses colored file extensions in its document graphics because it deals with many different types of source files, and this keeps them distinguishable. It's not just XCode.

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

2006-04-18 Thread Bill Janssen
If someone comes up with a finished badge (or even a good explanation If you look in http://doxdesk.com/img/software/py/icons2.zip, you'll find a file called baselogo.svg. In the lower left corner of that figure, you'll find a shaded two-intertwined-snakes badge that is the new Python site

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

2006-04-18 Thread Bill Janssen
Yeah, I've seen the new python logo. There was discussion of macifying it. If the suggestion is to just leave the logo as-is, here's an [example][1] of what the icon could look like. There's the flat logo, but the logo I was pointing to was a version that's shaded a bit to look slightly

Re: [Pythonmac-SIG] Mac Python is DEAD

2006-04-18 Thread Bill Janssen
Advertising Department, In my opinion, the problem is the term MacPython. Python is Python, period, and we should just call it that, even if it's running on the Mac platform. Perhaps this was different in the pre-OSX days, but not now. I'd be happy to go though all the pages on python.org and

Re: [Pythonmac-SIG] Mac Python is DEAD

2006-04-18 Thread Bill Janssen
To give my 2 cents... It doesn't really matter about a logo, icon, or universal build. If there is no recent info on the OFFICIAL python.org linked web pages, most new users will think it's become defunct, and look no further. Apparently this guy got past the main python.org page, with

[Pythonmac-SIG] fixing the Mac documentation

2006-04-18 Thread Bill Janssen
Fred, I'd like to fix the Mac documentation. I believe I need checkin rights to the python/trunk/Doc svn subdirectory to do that. Is that right? Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

[Pythonmac-SIG] Fixing the documentation...

2006-04-18 Thread Bill Janssen
Just looking at the docs, I'm trying to figure out what's good and what's bad. 1) We should no longer point people to Jack's site, we point them to the python.org Mac download page instead. 2) references to PythonIDE and PackageManager should go. 3) What about the following: 2.

Re: [Pythonmac-SIG] 2.3 vs 2.4

2006-04-17 Thread Bill Janssen
I'll add a note in bold on the python.org Macintosh downloads page saying not to remove the Apple-provided version. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

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

2006-04-17 Thread Bill Janssen
I see that Andrew Clover has submitted an update of his icons for Python. http://thread.gmane.org/gmane.comp.python.devel/78197/focus=78701 Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-15 Thread Bill Janssen
I could make some nasty remarks about emacs and you could then strike back with remarks about vi, but lets not go there :-) Thanks for reminding me of vi. As I understand it (I'm afraid I've never seen the point of knowing much about vi :-) the model vi uses is quite different -- lean and

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-14 Thread Bill Janssen
I never need Python to have readline capability. Yeah you do, you probably just don't realize that you're using it. No, I really don't. The only time I ever interact with the Python REPL is in a GNU Emacs shell buffer (or, rarely, an Emacs pdb buffer), which does the dance for me. In the

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-14 Thread Bill Janssen
Terminal and xterm don't have readline capability, the shell (bash) does. But that is of no use when you're in the python interactive shell. Then having readline support in python is very handy. Right you are, Ronald. Thanks for the correction. I never use them bare; I always run Emacs in

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Bill Janssen
Just for fun, what's the point of the execve? Just to choose the right Python executable? Never mind, I found it on Bob's blog. It's to get around the requirement to have an app bundle if you want to draw on the screen, apparently. Bill ___

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-13 Thread Bill Janssen
Just curious... Is there really a need for the readline library? On Mac, I always run Python shells in either (1) Terminal, or (2) xterm, or (3) an Emacs shell buffer. All of them have readline capability built in. I never need Python to have readline capability. What's the use case here?

Re: [Pythonmac-SIG] readline: where and how installed?

2006-04-12 Thread Bill Janssen
All I'm saying is that it might be a good idea to put a few lines in the README about the execve deal, and its implications for things like debugging. Because otherwise it could get pretty frustrating for some folk pretty fast. I agree. This seems unnecessarily obscure. Just for fun,

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

2006-04-09 Thread Bill Janssen
Kevin, If we do what you propose, what we would have is two 'elements', let's call them, in the final icon which serve the same purpose: identifying Python. It's redundant, if not confusing, and since the icons use different color schemes and designs, it will hurt the icon visibility

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

2006-04-09 Thread Bill Janssen
Bob Ippolito writes: While not ideal, we should probably just move forward with an icon set based on the new python.org logo. It's better than what we have, and it doesn't realistically depict a snake. I'm still open to new ideas and mockups, but it just doesn't seem pragmatic to wait

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

2006-04-07 Thread Bill Janssen
Hmmm... Kevin, I wonder if the checkerboard the blocks are standing on could perhaps become more of a morph of the new yin/yang Python logo. I'd like to see some kind of connection to the graphics being developed for the main Python web site. http://kevino.theolliviers.com/0406_macpython.jpg

Re: [Pythonmac-SIG] PyXML install problems

2006-04-04 Thread Bill Janssen
I have Mac OS X, 10.4.6 (updated this morning) with the new Python 2.4.3 Universal Binary just released at python.org. Time to update the downloads page? Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] Marking the pre-built extensions as Intel-capable...

2006-03-28 Thread Bill Janssen
Couldn't we put a *.egg into a *.mpkg? and get the best of both worlds? That would be my vote. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] [ann] Appscript Installer 1.3 released

2006-03-27 Thread Bill Janssen
I've added a link in the Wiki page about alternate distribution pointing to Ronald's 2.4.2 installer. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] Marking the pre-built extensions as Intel-capable...

2006-03-27 Thread Bill Janssen
I'm looking over the downloads page again, thinking about what we need to do to support the Universal builds. First off, the discussion last week about which packages will work with it seems very important. Who's got edit access to pythonmac.org? Could someone please put a note on

Re: [Pythonmac-SIG] Marking the pre-built extensions as Intel-capable...

2006-03-27 Thread Bill Janssen
Could someone please put a note on http://pythonmac.org/packages/ to say that the packages listed there are all PPC-only? Done Looks good, thanks. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] Marking the pre-built extensions as Intel-capable...

2006-03-27 Thread Bill Janssen
I'd certainly prefer eggs where possible, but transitionally we're definitely going to need *.mpkgs. Maybe both for now, and/or separate pages for .mpkgs and binary eggs? What happens if you double-click on a *.egg? I like that anyone with OS-X can figure out how to install from a

Re: [Pythonmac-SIG] [ann] Appscript Installer 1.3 released

2006-03-23 Thread Bill Janssen
It is officialy released, even if Bill hasn't updated the download page at python.org yet. I must be missing something about updating the new website's pages. I've removed the old comment on the main downloads page several times, but it keeps showing up. In fact, looking at the svn history,

Re: [Pythonmac-SIG] [ann] Appscript Installer 1.3 released

2006-03-23 Thread Bill Janssen
It is officialy released, even if Bill hasn't updated the download page at python.org yet. Ronald, what's the proper URL to advertise? I've got http://homepage.mac.com/ronaldoussoren/.Public/Universal%20MacPython%202.4.2.dmg but perhaps you'd like to upload it to pythonmac.org, or

Re: [Pythonmac-SIG] [ann] Appscript Installer 1.3 released

2006-03-23 Thread Bill Janssen
On Mar 23, 2006, at 4:09 PM, Bill Janssen wrote: It is officialy released, even if Bill hasn't updated the download page at python.org yet. Ronald, what's the proper URL to advertise? I've got http://homepage.mac.com/ronaldoussoren/.Public/Universal%20MacPython %202.4.2.dmg

Re: [Pythonmac-SIG] [ann] Appscript Installer 1.3 released

2006-03-23 Thread Bill Janssen
Are we really ready to call it the official version to use? I just had a colleague try it, then he asked me how to get wxPython and numpy working with it. OK, I'll hold off on it till people start yelling at me to update the page. We still haven't seen Kevin's new icon ideas, either. Bill

Re: [Pythonmac-SIG] py2app is building semi-standalone package only.

2006-03-22 Thread Bill Janssen
I added a symbolic python2.3.5 in the directory /usr/bin, pointing to the python program under 'Library/Frameworks/Python.framework, so I can invoke this python with the command python2.3.5. Here's where you've deviated from the standard: As a rule, you shouldn't out ANYTHING in

Re: [Pythonmac-SIG] Recurring question - which python should I use?

2006-03-15 Thread Bill Janssen
I'm not all that optimistic that it will be ready that soon, or lookfeel very Mac-ish. I don't care about that -- I don't use the built-in widgets anyway. I use Java for UI largely because (1) widgets built from Swing will run in applets as well as in apps, and (2) because the graphics model

Re: [Pythonmac-SIG] Recurring question - which python should I use?

2006-03-15 Thread Bill Janssen
The depends on what the application is. If the application is a GUI application you can use py2app to build an application bundle, that will include the python framework inside the application (unless you use Apple's python). What's the framework? If that's the entire Python interpreter and

Re: [Pythonmac-SIG] Bad download link on python.org

2006-03-14 Thread Bill Janssen
Yes, I know about it, thanks. If I can figure out how to change it, I'll do so. Bill I didn't notice anyone mentioning this on previous discussions, but currently, if you click the download link on the left side of the main python.org site, it takes you to a page that states this about

Re: [Pythonmac-SIG] Recurring question - which python should I use?

2006-03-14 Thread Bill Janssen
If it influences the answers, I am looking to build a cross-platform application that I eventually want to be able to package for easy installation by non-Python savvy users. I don't see a good alternative to using Apple's version, then. Or, at least, I don't know how to build a Mac

Re: [Pythonmac-SIG] Recurring question - which python should I use?

2006-03-14 Thread Bill Janssen
Do you really not know about Py2App? It occasionally has some tricky bits, and doesn't yet work with the new universal build, but it is still better than anything else out there for any platform. In fact, with my limited testing, it has always just worked which I can not say for py2exe.

Re: [Pythonmac-SIG] Download page on www.python.org now updated

2006-03-10 Thread Bill Janssen
Hey, I notice the MacPython wiki page on python.org http://wiki.python.org/moin/MacPython is showing outdated information - might be an idea to redirect it to the new download page or copy over some of the new content. has The nifty thing about Wikis is that anyone can edit it...

Re: [Pythonmac-SIG] updated universal python installer (rc1?)

2006-03-08 Thread Bill Janssen
Let me know when you're happy, and I'll update the downloads Web page. Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Download page on www.python.org now updated

2006-03-02 Thread Bill Janssen
Ron Oussoren writes: The 16 ton icon stays until someone brings a better alternative. W. R. Wing writes: I LIKE the python squeezing the apple. The 16 ton icon is not only amateurish, it is so indirect an in joke as to be inscrutable to anyone coming new to the party. I agree with Wing.

Re: [Pythonmac-SIG] Download page on www.python.org now updated

2006-03-02 Thread Bill Janssen
That's just one icon, we need several icons. At least we now have a consistent set of icons. An historical looking set of icons, but a *set* of icons. Yes, I comprehend, several different icons for the various applications are needed. The base logo is just a starting place. Surely better

Re: [Pythonmac-SIG] universal binary installer, take 1

2006-02-28 Thread Bill Janssen
Why don't we call this RC1? I'll update the Web page next week, let's say. Bill I've placed a DMG with an installer for a universal build of python 2.4.2. This is an initial release of this installer, there are probably issues with it. This installer features: - a universal binary of

Re: [Pythonmac-SIG] universal binary installer, take 1

2006-02-28 Thread Bill Janssen
Ron, For this release, we were going to change the name of the folder that the IDLE appears in, from MacPython-2.4 to Python 2.4. In this installer, it seems to be MacPython 2.4. I think it would be a good idea to remove the old MacPython-2.4 folder, as well. Bill

Re: [Pythonmac-SIG] Download page on www.python.org now updated

2006-02-27 Thread Bill Janssen
Guido has just announced (at his PyCon keynote) that the new web site (see beta.python.org) is going live a week from tomorrow (or Sunday, March 5), and has requested help migrating the content. I see that the content on the downloads page is different on the beta site, and wrong w.r.t.

<    1   2   3   >