Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-05 Thread Kevin Walzer
context wouldn't make much sense on comp.lang.python. As far as the security issues, I agree, that's a concern. My basic idea is to expose a selection of commands in my application, either wrapped in AppleScript commands or simply as Python commands accessed via the "run scri

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-05 Thread Kevin Walzer
On 1/4/10 11:24 PM, Kevin Walzer wrote: On 1/4/10 8:18 AM, Kevin Walzer wrote: On 1/4/10 6:37 AM, has wrote: This is very weird, and I have no clue how to untangle it. My app won't respond to Apple Events at all without a valid sdef file in the bundle's Resources directory. Howev

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-04 Thread Kevin Walzer
On 1/4/10 8:18 AM, Kevin Walzer wrote: On 1/4/10 6:37 AM, has wrote: Sounds like you forgot to add an OSAScriptingDefinition entry containing the sdef's filename to your info.plist. Also, bear in mind that sdef-only apps won't work in 10.4 or earlier; if that's a concern then

Re: [Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-04 Thread Kevin Walzer
well. That worked, thanks. But now Script Editor complains about a "corrupted dictionary." Looks fine to me. Any ideas? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

[Pythonmac-SIG] Python app with aemreceive is not scriptable

2010-01-03 Thread Kevin Walzer
dlebuilder because of my continuing difficulties with py2app. Any advice is appreciated... Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-28 Thread Kevin Walzer
, unfortunately. I've tried the maxheader trick before in the past, and it hasn't worked, but I don't feel like recompiling Tcl/Tk this time. Too much work when bundlebuilder is an easier, functioning solution. In the meantime, you might want to ping Ronald Oussoren with your pa

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-27 Thread Kevin Walzer
uld try to give it a large -headerpad value at link (look in man ld), that's at least worth a try. Do you know which library it is? Is it open-sourced? I may give it a shot in that case. It's just Tkinter--I have a four-way build (32/64 bit for PPC and Intel) of Tcl/Tk. -- Kevin Walze

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-27 Thread Kevin Walzer
sers/kevin/Desktop/phynchronicity/build/bdist.macosx-10.5-universal/egg/macholib/MachO.py(295)synchronize_size() -> raise ValueError("New Mach-O header is too large to relocate") I've seen this before, and am not sure how to fix it. --Kevin -- Ke

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-12 Thread Kevin Walzer
sagree about bundlebuilder, but Apple's decision to deprecate Carbon made removing those bits from the standard library the only sane decision. None of that stuff works with a 64-bit build of 2.6, that's for sure. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com __

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-11 Thread Kevin Walzer
I've also tried to fix the problem myself, but have made no progress. At this point I've lost interest in improving py2app and am content to stick with the dumber, blunter, but simpler instrument of bundlebuilder. -- Kevin Walzer Code by Kevin http:/

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-11 Thread Kevin Walzer
ere that the complexity of py2app's internals gets beyond me. I've tried a few things to get it to work, but with no progress. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-10 Thread Kevin Walzer
nching new instances of Python with a generic icon--at least, this has been reported on their mailing list WRT wxPython apps. So it doesn't seem ready for prime time yet either. Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ P

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-09 Thread Kevin Walzer
dlebuilder. Understood. I'll probably fork it once I move to 3.x. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-09 Thread Kevin Walzer
On 12/9/09 12:32 PM, Christopher Barker wrote: Kevin Walzer wrote: Bundlbuilder doesn't really argvemulation anyway, since hooks for this exist in all the major GUI libraries (Tk, wxPython, and certainly PyObjC). I actually use argv emulation more for non-gui apps -- a way for folks

[Pythonmac-SIG] Bundlebuilder--why remove it?

2009-12-09 Thread Kevin Walzer
x27;s the best way to keep bundlebuilder available for Python 3.x? Submit a feature request at the bug tracker? Or separate it out, and submit a PyPi project? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG ma

[Pythonmac-SIG] Bundlebuilder and four-way universal binaries: alternative to py2app

2009-12-08 Thread Kevin Walzer
st wanted to share, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-07 Thread Kevin Walzer
e four-way universal builds. So PySide may not be the answer at all. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] py2app/PyQt/64-bit/Mach-O

2009-12-07 Thread Kevin Walzer
n, and I've seen other problems on the list with PyObjC. I don't know enough about macholib to offer a patch, and no one else has had time to delve into it. If you run across a solution, some of us would be glad to hear it! -- Kevin Walzer Code by

Re: [Pythonmac-SIG] py2app and pygame results in application that may not launch

2009-11-30 Thread Kevin Walzer
2-bit app (using Tk-Cocoa). I don't think Ronald Ousorren has had time to look at this yet and I don't know py2app/macholib well enough to attempt a patch, so I've resorted to using bundlebuilder to ship my apps in the meantime. --Kevin -- Kevin Walzer Code by Kevin http:/

Re: [Pythonmac-SIG] Automize a droplet

2009-11-08 Thread Kevin Walzer
more specific about what you want to do? What's a "droplet"? And since you reference AppleTalk (do you mean AppleScript), is this about Python? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pyth

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-21 Thread Kevin Walzer
On 10/7/09 6:12 PM, Kevin Walzer wrote: Could you post the 4-way universal build of Tcl/Tk somewhere, that way I can debug on SL. Ronald Done: http://www.codebykevin.com/64-bit-tcl-tk-aqua.pkg.zip Thanks, Kevin Any update on getting py2app/macholib to work with a four-way universal

Re: [Pythonmac-SIG] Framework does not get copied for standalone build: 0.4.3

2009-10-14 Thread Kevin Walzer
911 read to have the Framework copied over correctly I wonder if the problem is with py2applet and the build script it generates? Writing your own setup.py script for py2app isn't very hard, and wxPython is well-supported by py2app. Try writing your own script and see what happens. -- K

Re: [Pythonmac-SIG] Latest Py2app bug..

2009-10-11 Thread Kevin Walzer
On 10/11/09 3:36 PM, Ned Deily wrote: BTW, I see there is now a py2app 0.4.3 available which should have a proper fix for the "TypeError: int argument required" regression. Still can't build a four-way 64-bit universal binary of a Tkinter app with this new version... -- Ke

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-07 Thread Kevin Walzer
Could you post the 4-way universal build of Tcl/Tk somewhere, that way I can debug on SL. Ronald Done: http://www.codebykevin.com/64-bit-tcl-tk-aqua.pkg.zip Thanks, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-07 Thread Kevin Walzer
come up with. The bundlebuilder approach is actually OK as a short-term solution. I am planning an app release in the next couple of weeks and don't want to hold it up for the py2app issues. I'm amazed that bundlebuilder still works! Thanks, Kevin -- Kevin Walzer Cod

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
what you come up with. I've not been able to get a working build of my app with py2app. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/lis

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
(struct.unpack(endian + cls._format_, s), **kw) error: unpack requires a string argument of length 8 > /Users/kevin/Programming/phynchronicity/build/bdist.macosx-10.5-universal/egg/macholib/ptypes.py(48)from_str() -> return cls.from_tuple(struct.unpack(endian + cls._format_, s), **kw) Any i

Re: [Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
with it as well. I'm using the current HEAD of the macholib repository. Ronald I downloaded and installed svn trunk (revision 31) of macholib from svn.pythonmac.org--still have the same problem. Is there somewhere else I should look? --Kevin -- Kevin Walzer Code

[Pythonmac-SIG] py2app/64-bit/Mach-O Headers

2009-10-06 Thread Kevin Walzer
hink py2app should be able to handle building a Tkinter application as 64-bit without these errors; Tkinter isn't some weird edge case. I've installed the latest dev versions of py2app and macholib. I'm also running 10.5.8. Thanks,

Re: [Pythonmac-SIG] Link against Python Framework

2009-09-09 Thread Kevin Walzer
I've always wondered about this. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] aemreceive/py-appscript and 64-bit

2009-08-24 Thread Kevin Walzer
hough this particular Apple Event isn't illustrated in the documentation, nor have I found sample code for this. Any advice is appreciated, and if I'm successful in implementing something like this, I'll post the sample code somewhere. --Kevin -- Kevin Walzer Code by Kevin http://www.cod

[Pythonmac-SIG] Making a Python application scriptable via AppleScript

2009-08-08 Thread Kevin Walzer
igned more to allow Python apps to drive *other* AppleScriptable apps via the OSA. I'm interested in the opposite. I understand that there used to be some modules to support this, but they appear to be deprecated. Any advice is apprecaited. -- Kevin Walzer Code by Kevin http://www.codeb

[Pythonmac-SIG] IDLE edit, format menus hang

2009-07-22 Thread Kevin Walzer
iring, they appear to fire as expected (i.e. "paste" starts out working as normal before hanging). No Python or Tk error messages are printed to output/console, so I can't trace the issue that way either. Any suggestions on other avenues I can look at? I'm a bit

Re: [Pythonmac-SIG] Fink vs MacPorts vs Framework

2009-06-30 Thread Kevin Walzer
e same as python.org ones. So it is just advantages in using the macports one I think :) This is the main reason to use a packaging system like MacPorts or Fink--if you have a complicated set of libraries to build, they can streamline things. Otherwise there is no particular advantage to usin

Re: [Pythonmac-SIG] Python program done, now need to Change Rocketship Icon, Remove Python menu?

2009-06-29 Thread Kevin Walzer
Python Nutter wrote: What are some good resources to learn how to deploy on this platform? py2app is what you're looking for--it will wrap Python and your application code into a standalone application with its own icon. -- Kevin Walzer Code by Kevin http://www.codebykevi

Re: [Pythonmac-SIG] Chinese glyphs in Python 3

2009-05-26 Thread Kevin Walzer
, who builds the OS X installers. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Patch to IDLE

2009-05-20 Thread Kevin Walzer
b), I have uploaded some patches to make IDLE play nice regardless of whether Tk is built on Carbon or Cocoa: http://bugs.python.org/issue6075 -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org

Re: [Pythonmac-SIG] Patch to IDLE

2009-05-19 Thread Kevin Walzer
early enough to get this fixed in Tk itself. Mailing list traffic has yielded some documented workarounds, which I will attempt to implement in IDLE. I don't think patching Tk for this is in the cards. -- Kevin Walzer Code by Kevin http://www.codeb

Re: [Pythonmac-SIG] 64-bit wxMac/wxPython?

2009-05-19 Thread Kevin Walzer
wxOSX. I'm not sure it's been integrated into wxPython yet, and certainly there are no officially supported 64-bit builds of wxPython, but perhaps soon. See this blog entry: http://wiki.wxwindows.org/Development:_wxMac -- Kevin Walzer Code by Kevin h

Re: [Pythonmac-SIG] Patch to IDLE

2009-05-19 Thread Kevin Walzer
this would break IDLE on other platforms. Simply re-naming the "help" menu to something else is preferable and simpler to wrapping the menu_specs dict in a lot of platform-specific logic: I've tried adding some "if macosxSupport.runningAsOSXApp():" lines to the code

[Pythonmac-SIG] Patch to IDLE

2009-05-18 Thread Kevin Walzer
ll submit a patch to support Tk 8.6, when Cocoa will move from a fork to trunk in Tk development. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Kevin Walzer
ps that look awful on the Mac, and some wxWidgets wrappings of Mac widgets--such as a combox--don't look correct at all. On the other hand, a wxPython app like Editra, which really pays attention to the way it's implemented on the Mac, looks great. Kevin Walzer wrote: You've do

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Kevin Walzer
versal build of Python and Tk-Cocoa. IDLE looks a bit weird because of some menu layout issues (there are a few differences between Tk-Carbon and Tk-Cocoa), but those can be adjusted with some patches--I may work some up at the appropriate time. Thanks, Kevi

[Pythonmac-SIG] Leaning PyObjC

2009-05-07 Thread Kevin Walzer
de. Does this sound like a good approach, or am I missing something glaringly obvious? What do others who are shipping PyObjC apps do? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Using AHRegisterHelpBook

2009-05-03 Thread Kevin Walzer
e.com yields some useful hits. I based my code on some snippets used there (the PythonIDE stuff, in particular). -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Using AHRegisterHelpBook

2009-05-03 Thread Kevin Walzer
directly with something like this: os.system('open -a Help Viewer.app /path/to/help.html') -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo

Re: [Pythonmac-SIG] Using AHRegisterHelpBook

2009-05-03 Thread Kevin Walzer
limited support for displaying HTML, but it will give you an idea of the issues. Since you're using wxPython, can't you just call either the wxHelp API (a bit complicated if I recall correctly) or simply create a simple HTML viewer? I think something like that is in the wxPython dem

Re: [Pythonmac-SIG] IDLE fixes for 2.x and 3.x

2009-02-10 Thread Kevin Walzer
DLE.app; when it's run from the command-line, it's run by Python.app. Can't be avoided. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

[Pythonmac-SIG] [Fwd: Re: Should Python.app be an LSUIElement = 1 app?]

2009-02-03 Thread Kevin Walzer
g the undesired "rocket launch" and fix it, or at least work around it? Woudn't a non-framework, Unix-style build of Python avoid these issues altogether? --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com --- End Message --- ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Should Python.app be an LSUIElement = 1 app?

2009-02-03 Thread Kevin Walzer
experiencing is the expected behavior of Python, albeit not what you want in this instance. Rather than re-doing the long-standing infractucture of Python on the Mac, wouldn't it be better to find the code that is causing the undesired "rocket launch" and fix it, or at least wor

Re: [Pythonmac-SIG] Status of Python 3.0 for Mac?

2008-12-15 Thread Kevin Walzer
Nicholas Cole wrote: On Sun, Dec 14, 2008 at 4:36 PM, Kevin Walzer wrote: I'm curious who maintains the Mac builds of Python these days. It's not hard to build from source, of course, and that's what I do...but the binary installer is convenient for many people. I want to

Re: [Pythonmac-SIG] Status of Python 3.0 for Mac?

2008-12-14 Thread Kevin Walzer
ho maintains the Mac builds of Python these days. It's not hard to build from source, of course, and that's what I do...but the binary installer is convenient for many people. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-

Re: [Pythonmac-SIG] MacPython 2.5 font size

2008-11-20 Thread Kevin Walzer
ilman/listinfo/pythonmac-sig Did you try selecting the "font" tab in the preferences? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] which directory for site-packages

2008-11-16 Thread Kevin Walzer
provide with its system Python , i.e. Idle. You are much better off installing MacPython and just using that. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman

Re: [Pythonmac-SIG] Authentication via python?

2008-10-28 Thread Kevin Walzer
tosh python authenticate)... - Benjamin Take a look at Bob Ippolito's authorization package: http://www.undefined.org/python/#Authorization -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@p

Re: [Pythonmac-SIG] Creating Installer for my py2app-generated bundle

2008-10-22 Thread Kevin Walzer
Paul McNett wrote: Kevin Walzer wrote: Paul McNett wrote: Hi, I've successfully created my application bundle (a wxPython-based application) using py2app and now I want to create an installer inside a compressed dmg. I'm having trouble finding examples of how to do this.

Re: [Pythonmac-SIG] Creating Installer for my py2app-generated bundle

2008-10-22 Thread Kevin Walzer
n't worry about the installer. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] IDE that doesn't look awful?

2008-10-20 Thread Kevin Walzer
onventions). I actually just use plain old IDLE. It's had some basic Mac UI adaptations, and works nicely for me. But then, I use Tk/Tkinter as my GUI toolkit, so I actually prefer to use a Tk-based app as a reference point (for both good and bad aspects). --Kevin -- Kevin Walzer Code

Re: [Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python

2008-10-19 Thread Kevin Walzer
Idan Gazit wrote: On Oct 19, 2008, at 8:12 PM, Kevin Walzer wrote: Not sure if 2.6 does the same, but I thought it did. It certainly doesn't touch /etc/paths.d, nor should it. ~/.MacOSX/environment.plist isn't affected either as far as I know. A little bit of rooting around

Re: [Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python

2008-10-19 Thread Kevin Walzer
Idan Gazit wrote: On Oct 19, 2008, at 7:48 PM, Kevin Walzer wrote: The installer will modify your path settings so that MacPython comes up before the version shipped by Apple. However, the current Mac build of Python 2.5 is broken if you need to run Tkinter apps such as IDLE: Hm, Dunno why

Re: [Pythonmac-SIG] Symlinks? Newbie / macpython alongside leopard python

2008-10-19 Thread Kevin Walzer
me instructions on how to work around the difficulties the current build runs into.) Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] tcl/tk version confusion with tkinter in Python 2.6, on OS X

2008-10-06 Thread Kevin Walzer
ystem/Library/Frameworks for Tcl/Tk, it won't run Tkinter applications. It makes the build pretty much useless for anyone needing it to run Tkinter apps, including Idle. I'd say it's a showstopper issue. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com __

Re: [Pythonmac-SIG] IDLE on Python-2.6 release version

2008-10-02 Thread Kevin Walzer
t;http://gcc.gnu.org/bugs.html> for instructions. make: *** [Objects/longobject.o] Error 1 Thanks, Rajanikanth Odd. I don't know what that problem is. Perhaps someon else can chime in? -- Kevin Walzer Code by Kevin http://www.codebykevin.com __

Re: [Pythonmac-SIG] IDLE on Python-2.6 release version

2008-10-02 Thread Kevin Walzer
brary/Frameworks. I'd suggest installing ActiveTcl (http://www.activestate.com). Both Leopard and Tiger come with Tk 8.4 installed in /System/Library, but that version is now obsolete. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Python

Re: [Pythonmac-SIG] Open source Python Mac Apps

2008-09-17 Thread Kevin Walzer
___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig A partial list can be found here: http://wiki.python.org/moin/MacPython/MacSoftwareUsingPython -- Kevin Walzer Code by Kevin

Re: [Pythonmac-SIG] Creating Application()

2008-08-26 Thread Kevin Walzer
especially if you don't need the bells and whistles of Cocoa. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] "Best" Mac Python under Leopard?

2008-08-21 Thread Kevin Walzer
documentation, test suites and examples, are still getting updated. (Someone please correct me if I am wrong.) You can always build your own version of Python as well. I do, because my Tkinter Python apps need to link to Tk 8.5, and the official Python.org build (and Apple's version) links to

Re: [Pythonmac-SIG] LXML with py2app

2008-08-08 Thread Kevin Walzer
think the flags are ./configure --enable-framework --enable-universalsdk. That will link to the system Tcl/Tk installation. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.

Re: [Pythonmac-SIG] Teething troubles - Getting up an running on a mac

2008-08-03 Thread Kevin Walzer
using it was effortless. It isn't the same as Windows and other Unixes, so it's not surprising that you're having some difficulty adjusting to the platform-specific quirks.Once you work through them, things should be smooth. Kevin -- Kevin Walzer Code by Kevin http://www.c

Re: [Pythonmac-SIG] py access to speech synth?

2008-07-31 Thread Kevin Walzer
DavidW wrote: Does anyone know whether there's any work being done on a python interface to the OSX speech synthesiser? You should be able to access through PyObjC--look up NSSpeechSynthesizer. -- Kevin Walzer Code by Kevin http://www.codebykevi

Re: [Pythonmac-SIG] Tkinter apps hang upon quitting

2008-07-23 Thread Kevin Walzer
. Running a test build of my app with Tk 8.5.3, the issues seem resolved. Not sure who fixed them or when, but I'm glad that the warnings don't litter the console anymore. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___

Re: [Pythonmac-SIG] Tkinter apps hang upon quitting

2008-07-22 Thread Kevin Walzer
Leonardo Santagada wrote: On 22/07/2008, at 19:24, Kevin Walzer wrote: Tk 8.5 was released last December, and is a big improvement over Tk 8.4. However, Python's binary distributions (for Mac and Windows, anyway) still link against Tk 8.4.x. There's nothing to prevent you from

Re: [Pythonmac-SIG] Tkinter apps hang upon quitting

2008-07-22 Thread Kevin Walzer
ac, perhaps Ronald can chime in here. Ronald, what's your take on this? Any idea when the binary distro of MacPython will look for Tk 8.5 by default? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@

Re: [Pythonmac-SIG] Tkinter apps hang upon quitting

2008-07-22 Thread Kevin Walzer
Michael Crawford wrote: On Tue, Jul 22, 2008 at 6:22 AM, Kevin Walzer <[EMAIL PROTECTED]> wrote: What version of Tcl/Tk do you have installed? Actually, I'm not real sure. I assumed that they were bundled with the MacPython 2.5.2 download, but a long time ago I built Tcl and Tk

Re: [Pythonmac-SIG] Tkinter apps hang upon quitting

2008-07-22 Thread Kevin Walzer
re Duo (not Core 2 Duo) MacBook Pro running Mac OS X 10.4.11. Thanks for your advice. What version of Tcl/Tk do you have installed? Can you post some sample code for me to play with? -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pytho

Re: [Pythonmac-SIG] Duff installation

2008-07-20 Thread Kevin Walzer
;t find package Togl Looks like you need to install Togl. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Mac IDLE Fonts? (-or- I guess I need glasses.)

2008-07-18 Thread Kevin Walzer
ion (8.4.7) installed in /System/Library/Frameworks. As I said, this version is very old (c. 2005?). 8.4.19 from the link I gave you before will work with Python. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pyt

Re: [Pythonmac-SIG] Mac IDLE Fonts? (-or- I guess I need glasses.)

2008-07-17 Thread Kevin Walzer
owever, that version is so old that I'm disinclined to offer another patch. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Kevin Walzer
the script, or with the path to the script in another directory in the same path hierarchy, i.e. "python foo/myscript.py," in a subdirectory called foo). All the variables you have set--$PATH, etc.-- help Terminal know where Python is. They do not help Python know where your script

Re: [Pythonmac-SIG] Yet another problem with path

2008-07-13 Thread Kevin Walzer
in Terminal to be the same as the script. Try this command: cd /Users/pascal/Documents/Python/Dev/myapps python test.py -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.pyt

Re: [Pythonmac-SIG] Code signature/py2app

2008-07-01 Thread Kevin Walzer
Kevin Walzer wrote: This application built without problem when I was using Tk 8.5.2; the only change in my setup is the minor version update of Tk to 8.5.3. I admit I'm not up-to-date on the whole "code-signing" thing--is this something that needs to be taken into account wi

[Pythonmac-SIG] Code signature/py2app

2008-07-01 Thread Kevin Walzer
hen I was using Tk 8.5.2; the only change in my setup is the minor version update of Tk to 8.5.3. I admit I'm not up-to-date on the whole "code-signing" thing--is this something that needs to be taken into account with py2app? In any event, I'm stumped, and would be grate

Re: [Pythonmac-SIG] NewBie question: Building GUI for Mac

2008-06-06 Thread Kevin Walzer
Parser, see http://feedparser.org/). Growl has Python bindings, and can also be called from the command-line via AppleScript. Hope this helps, Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Trouble installing Tkinter with 2.3.5/10.2

2008-06-01 Thread Kevin Walzer
ftware and I appreciated the help getting Tkinter working on 10.2. Unfortunately, other tools that I was hoping to use on this project (such as Guib, the successor to SpecTcl) are proving to be much more difficult to install on 10.2 than Tkinter was. Again, glad to help. Best, Kevin --

Re: [Pythonmac-SIG] Trouble installing Tkinter with 2.3.5/10.2

2008-05-21 Thread Kevin Walzer
ort 10.2, apart from the fact that it's what your machine runs? The user base for 10.2 is negligible. --Kevin -- -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Trouble installing Tkinter with 2.3.5/10.2

2008-05-21 Thread Kevin Walzer
the source code, follow the instructions, and you should be fine. If the binary I've pointed you to doesn't work, then building all of Python from source (including Tkinter) is your only option. Kevin -- Kevin Walzer Code by Kevin h

Re: [Pythonmac-SIG] Trouble installing Tkinter with 2.3.5/10.2

2008-05-20 Thread Kevin Walzer
your system. I think 10.3.9 is the absolute minimum that is supported by universal versions of Python. You'd be in far better shape with 10.4, or 10.5. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pyth

Re: [Pythonmac-SIG] py2app and bdist_mpkg on Linux?

2008-05-14 Thread Kevin Walzer
Arne Babenhauserheide wrote: El Wednesday, 14 de May de 2008 19:57:29 Kevin Walzer escribió: Copying repsonse to the list so others can see the follow-up: sorry... Arne Babenhauserheide wrote: Wouldn't it be possible to just include a binary Mac Python and then copy the script t

Re: [Pythonmac-SIG] py2app and bdist_mpkg on Linux?

2008-05-14 Thread Kevin Walzer
Copying repsonse to the list so others can see the follow-up: Arne Babenhauserheide wrote: El Tuesday, 13 de May de 2008 20:46:46 Kevin Walzer escribió: If all you are distributing are Python scripts, you can already to this with distutils or setuptools. I'd do it, if most Mac Users

Re: [Pythonmac-SIG] py2app and bdist_mpkg on Linux?

2008-05-13 Thread Kevin Walzer
ls or setuptools. If you want to distribute standalone apps with the Python interpreter embedded, that can't be done in a cross-platform manner. A Python binary built on Linux won't run on OS X. -- Kevin Walzer Code by Kevin http://www.codebykevin.com __

Re: [Pythonmac-SIG] Double-clickable wxpython application?

2008-04-10 Thread Kevin Walzer
Christopher Barker wrote: > py2app would have done that, though I'm still confused as to why > pythonlauncher didn't work for you. Pythonlauncher is broken on Leopard: http://bugs.python.org/issue1905 -- Kevin Walzer Code by Kevin http://www

Re: [Pythonmac-SIG] py2app on windows

2008-04-04 Thread Kevin Walzer
n't get an app bundle or shiny icon, but if you are using platform-neutral bits (i.e. it's pure Python), you should be fine. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Carbon bindings' future

2008-04-03 Thread Kevin Walzer
suggested, for Python and most likely Tcl as well. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] eliminating appscript-triggered Dock icon

2008-04-01 Thread Kevin Walzer
Kevin Walzer wrote: > > What does the "de-Macification" in Python 3.0 mean? Will the Carbon > modules be removed? > I've found the answer to my own question: http://www.python.org/dev/peps/pep-3108/ Yuk. Looks like I will have to remove the Carbon bits from my app

Re: [Pythonmac-SIG] eliminating appscript-triggered Dock icon

2008-04-01 Thread Kevin Walzer
quot;de-Macification" in Python 3.0 mean? Will the Carbon modules be removed? I'm curious because the Python program I currently develop calls into Carbon for a few things, and I'm mulling its future direction and design. -- Kevin Walzer Code

Re: [Pythonmac-SIG] Trouble with py2app not building standalone on 10.5 Leopard

2008-03-31 Thread Kevin Walzer
ibute Apple bits. Besides, there's no way that the Apple-installed Python on 10.5 will run on an earlier version of the OS. To get a truly standalone app bundle with py2app, you'll have to use a separate build of Python, and wrap that. You can get this from python.org. I think that bui

Re: [Pythonmac-SIG] QT3 and py2app problem

2008-03-21 Thread Kevin Walzer
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib- > 1.1-py2.4.egg/macholib/MachO.py", line 178, in load > ValueError: Unknown load command: 30 > /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/macholib- > 1.1-py2.4.egg

Re: [Pythonmac-SIG] Using py2app on 10.5 to build apps that run on 10.4?

2008-02-22 Thread Kevin Walzer
my own python and > explicitly add use that flag? I can't speak for every package, but I am using my own build of Python that links to Tk 8.5. The stock MacPython links to 8.4 and won't work with 8.5. I built Python and Tk to support 10.4 and they seem to work fine.

Re: [Pythonmac-SIG] uninstalling macpython

2008-02-21 Thread Kevin Walzer
onsiderations? > That should do it. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

Re: [Pythonmac-SIG] Having trouble building Python w/ Tcl/Tk on my new Macbook Pro

2008-02-09 Thread Kevin Walzer
eed the correct solution--Python will link to the native frameworks in /System/Library/Frameworks. -- Kevin Walzer Code by Kevin http://www.codebykevin.com ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig

<    1   2   3   4   >