There is no simple way to embed a Python installation within an
AppleScript applet. If you're doing that, you might as well all the way
and deploy your script as a full Mac application with Python libraries
bundled using a tool like py2app.
--Kevin
--
Kevin Walzer
Code by Kevin
http
On 1/25/19 5:44 AM, Ronald Oussoren via Pythonmac-SIG wrote:
These APIs are not available through PyObjC at this time. Why do you
want these APIs instead of the higher level APIs in AppKit?
Since these are C API's, it should be possible to access them through
ctypes, yes?
--
Kevin Walzer
t in range [U+; U+10]
I am not certain of how to proceed. Please advise.
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
https://mai
for this to work because
of Tk's architecture. I don't think that calling Tk from Cocoa is feasible.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac
, which is very old and buggy in terms of event loop
integration; these kinds of overloads were not uncommon with that
version (8.5). Try updating your build to 8.6.6 and see what happens;
it's a lot more stable.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http
pplet back
in the day, but it's probably been 10 years).
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
https://mail.python.o
are using it
instead of codesign, but in my experience setting a signature size, i.e.
--signature-size 9400, sometimes fixes codesign failures.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
to be
malware) saw this popup:
I saw that too, but I suspect Brendan simply mistyped the domain.
startssl.com is a valid CA for codesigning certs, and they have the
lowest-cost certificates in the business.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http
if the cert was not issued by Apple's developer group.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
https://mail.python.org
that will deployed elsewhere, it's
probably better to use a new installation. However, for casual
programming, the system Python is fine.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
.
In architecture: i386
The certificate is a .p12 file that was imported with KeyChain.app to
the System destination keychain.
This works for me:
codesign --deep --signature-size 9400 -f -s Developer ID Application:
Kevin Walzer cbk/QuickWho.app
I use cx_freeze in this app, not py2app
; and supporting 64-bit Python. I bet you can run the
installer package from the GUI, as well, since it's not an old package
like wxPython 2.8.
Hope this helps,
Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
, as the
maintainers, but that's my two cents.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
https://mail.python.org/mailman
flag. See
http://doc.qt.digia.com/qq/qq18-macfeatures.html for particulars.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http
after Digia took over Qt?
My impression is that it was now an orphan.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http
to do with it (again
I could be wrong!) but still seems active.
Phil Thompson earns his living dual-licensing PyQt (commercial and GPL),
just as TrollTech did. Moving to LGPL would probably hurt his revenue.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
I've observed this with the wxPy demo...may be a ex bug.
Sent from my iPhone
On May 27, 2013, at 11:26 AM, Charles Hartman co...@conncoll.edu wrote:
I'm coming back to all of this after years away, so I'm sure I'm missing
something simple. I've brought an old app into the current world:
Wxpython bug, that is.
Sent from my iPhone
On May 27, 2013, at 11:26 AM, Charles Hartman co...@conncoll.edu wrote:
I'm coming back to all of this after years away, so I'm sure I'm missing
something simple. I've brought an old app into the current world:
Python 2.7.5
OS 10.8.3
be found via man say.
The overhead of pyobjc isn't necessary here.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http
() failed with errno=1
3/30/13 7:04:02.119 PM DeFisheye: DeFisheye Error
Some linking error to libpng, apparently. This wouldn't seem to have
anything to do with the Cocoa linking issue in py2app.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http
. Simple but adequate for my needs.
--Kevin
--
Kevin Walzer
Code by Kevin/Mobile Code by Kevin
http://www.codebykevin.com
http://www.wtmobilesoftware.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo
switch to the target
platform and try building there.
--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
unsubscribe: http
On 10/31/12 9:49 PM, w...@mac.com wrote:
Where should I have been looking to find that for myself, please?
The Tk man pages discuss special menus, including the Apple menu; I
figured it out in Tkinter by Googling for snippets.
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
On 10/31/12 5:48 PM, w...@mac.com wrote:
applemenu = Menu(menubar, tearoff = FALSE)
Add the apple name to the menu object, cf:
applemenu = Menu(menubar, tearoff = FALSE, name='apple')
That works for me.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
On 10/10/12 11:26 PM, Ned Deily wrote:
A Python patch could go here:
http://bugs.python.org/issue15853
Patch submitted. The preferences dialog no longer crashes for me.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG
0x0b0c591e 0xb00 + 809246
48 Tk 0x0b0c5ca6 0xb00 + 810150
49 Tcl 0x0a07c2d1 Tcl_DoOneEvent + 180
50 _tkinter.so 0x00593ef3 Tkapp_MainLoop + 355
(_tkinter.c:2638)
--
Kevin
On 10/10/12 7:38 PM, Ned Deily wrote:
Look at the dump file I attached to the Tk issue. It has a complete
debug trace through Tk including C line numbers.
My stack trace is completely different, so I'm not sure where to look.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
idle, etc. It may take some trial and
error here to get that working.
If I'm successful, where should I submit a patch?
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http
On 10/10/12 10:02 PM, Kevin Walzer wrote:
I've been stepping through the IDLE source code and it appears IDLE is
crashing during the LoadConfigs() call of the config dialog. Still have
more investigating to do, but I'm hopeful I can come up with a
workaround that will keep things from crashing
not sure what else to suggest.
--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
unsubscribe: http://mail.python.org/mailman/options
P.S. To fire the prefs dialog, type Command-, or command-comma. That is
the default keybinding even though I did not explicitly enable it in the
script.
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
it's still
available.
--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
unsubscribe: http://mail.python.org/mailman/options
won't see
this fix, because ActiveState hasn't incorporated it yet. The fix was
committed in the past month or so, I believe, as part of the input
method patch submitted by Adrian Robert.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
::ShowPreferences, then it shouldn't crash
unless Wish is also crashing. I don't know what to say if something
crashes in Python/Tkinter but not in Tk.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG
what I'm doing wrong.
I prefer pack to grid. Try this:
mainframe.pack(fill=BOTH, expand=YES)
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo
. you can't set the foreground for them without creating
an entirely custom stule; they pick up platform defaults much better,
though).
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
You may have better luck asking on a wxPython ML...
Sent from my iPhone
On Aug 15, 2012, at 12:24 PM, Mark Livingstone livingstonem...@gmail.com
wrote:
No ideas?
On 12 August 2012 13:31, Mark Livingstone livingstonem...@gmail.com wrote:
Hi Guys,
I finally dragged myself kicking and
Additions, so I'm not sure.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
post a copy of your code, it would be easier to figure out what's
going on.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe
own apps, which
crash when someone has an outdated osax installed--there's no workaround
other than to ask the end user to remove or update the library.)
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac
handled BEFORE the first line of my python code is
executed.
So none of this is any help to me. My users expect to
double click on a .ctpx document to launch the application
AND open that document for editing.
Have I missed something?
Mick
On Wed, May 30, 2012 at 8:29 PM, Kevin Walzer k
to guard against the app being launched without a
file argument, but clearly what you want to do can be done. The opendoc
event is still useful for dragging the file to the app icon in the Dock,
regardless.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
it has received some openDocument events
or until a timeout occurs).
You can set a CFBundleTypeExtension key in your info.plist file to
indicate that your app can handle a certain type of document via
double-click.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
/TkCmd/tk_mac.htm
The commands are documented for Tk 8.6, but they are all present in the
Cocoa-based version of Tk 8.5 from ActiveState as well, so you may find
some useful things to look at here.
Hope this helps,
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
On 5/4/12 9:42 PM, Kevin Walzer wrote:
I'm getting quite frustrated with the app store's brain dead auto-scan
tool that doesn't see proper symlinks in the framework, and I'm getting
to the point where I am going to investigate other packaging tools that
don't set up a framework structure
and/or pyinstaller. No
blame to py2app here, of course. I appreciate your advice and support.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo
, does anyone else have a Python app in the Mac App
Store? Have you encountered issues with uploads or approvals? How are
you setting up py2app? My recent headaches getting the app uploaded have
been a real curveball, because I have had any issues previously.
Thanks in advance,
Kevin
--
Kevin
be sure)--but
that's a separate issue I'll have to take up with Apple. :-(
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
py2app not strip them out in the first place.
--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
unsubscribe: http
On 4/30/12 9:35 AM, Charlie Clark wrote:
--semi-standalone (-s) depend on an existing installation of Python
Not an option in my case, alas, but thanks for the suggestion. --K
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac
library,
since these functions pre-date OS X running on top of Unix; or, if you
are really in need of specific functionality offered by one of the
Carbon modules, code your own C wrapper library or use Ctypes.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
of these
approaches buys you anything that appscript does not.
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
/Contents/lib
done
cp -rf dist/Phynchronicity.app cbk/Phynchronicity.app
ditto --rsrc --arch i386 --arch x86_64 cbk/Phynchronicity.app
cbk/Phynchronicity_intel.app
rm -rf cbk/Phynchronicity.app
mv cbk/Phynchronicity_intel.app cbk/Phynchronicity.app
...and so on.
Hope this helps,
Kevin
--
Kevin
this capability to py2app, I'm sure other folks
would find it useful.
--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
unsubscribe
On 11/8/11 11:41 PM, Kevin Walzer wrote:
Is there any way I can get this executable linked to
/System/Library/Frameworks/Cocoa.framework? I didn't think
install_name_tool would do the trick, as that just rewrites links,
rather than adding them. A
Any suggestions are appreciated.
I solved
do the trick, as that just rewrites links,
rather than adding them. A
Any suggestions are appreciated.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org
this issue now after building matplotlib,
then it's logical to assume that matplotlib may have been linked to the
wrong library. You can change the linking by running install_name_tool
to get matplotlib to point to the correct version of Tk.
--Kevin
--
Kevin Walzer
Code by Kevin
http
else? If so, where?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
:
http://www.codebykevin.com/opensource/app-store.html. This article
doesn't mention Python (it focuses instead on Tk), but most of it is
applicable, and can be supplemented by what I've outlined in this e-mail.
Hope others find this useful,
Kevin
--
Kevin Walzer
Code by Kevin
http
Tk and Tkinter's integration of
the Cocoa version of Tk.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http
PyRun_SimpleFileExFlags + 489
21 com.codebykevin.quickwho-cbk0x00015856 start + 19074
22 com.codebykevin.quickwho-cbk0x000159c8 main + 229
23 com.codebykevin.quickwho-cbk0x00010e08 start + 52
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
by hand? Use the XML format from
GNUStep? (Renaissance, I think)?
--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
or even 10.4.x?
A package built on 10.5.x should run fine on 10.5.x. Backwards
compatibility (building on 10.5, running on 10.4) can be done but is a
bit tricky. Others on the list can help with that.
Good luck!
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
wrapper for the Snack sound library. You'll need to
install TkSnack in your site-packages path and Snack in a place where
Tkinter can find it like /Library/Tcl. Google can direct you to download
sites.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
taking a careful look.
--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
unsubscribe: http://mail.python.org/mailman/options
On 10/15/10 4:56 AM, BjornJohansson wrote:
Hi,
I understood that py2app can only produce mac .apps when run on macosx and
not linux.
Is this correct?
/bjorn
That's correct.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
extensions, which obviously won't run on the Mac.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG
such a patch in ActivePython?
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options
to make it lay nicer on Tk-Cocoa.
Again, thanks for the work you do. Thanks also to Ned Deilly for his
contributions, bug reports, patches, etc.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac
to look for.
TIA,
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
unsubscribe: http://mail.python.org/mailman/options/Pythonmac
On 6/1/10 11:06 AM, Kevin Walzer wrote:
Does anyone have any idea what might cause my framework build of Python
to see sys.path only in the build directory of one of my apps? I don't
typically jigger my Python settings with .pth files so I have no idea
what to look for.
I solved the problem
).
So, I assume I need to build my own osx packages of 2.7 linking against
Tk 8.6 to achieve this?
Thanks,
Stephen
Yes, most likely. I believe the binary installers from Python.org still
link against 8.4 by default--anything else requires you to build your own.
--Kevin
--
Kevin Walzer
Code
; I'm not able to reproduce this
error. You might actually want to consider filing a bug with Apple,
because this type of crash is coming from deep within Python or Tk's
internals--not in your code.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
that means it didn't work and I'll need a mac?
Mike
py2app only works on the Mac...
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
convert calls Ghostscript (gs) it can't find IT in /bin/sh.
Suggestions?
Thanks,
Dan
Why wouldn't you just use the full path to gs as well? /path/to/gs
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist
On 3/3/10 5:33 AM, Ned Deily wrote:
The main problem before was 64-bit Tk availability. IIRC, the only real
game in town for that was the Apple-supplied 8.5 in 10.6 which
apparently pulled in from the TkAqua Cocoa/64-bit port project (which
now may be a part of 8.6?). Kevin Walzer
on my first attempt to build an app. Did
you get any response to this question?
Thanks,
-Bill
http://wiki.python.org/moin/MacPython/BundleBuilder
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG
with different headerpad
flags, which I don't have time to 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
, with some modification (it's removed from 3.x). When I move my own
platform to Python 3.x in the future, I will likely start a separate
BundleBuilder 3.x project.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist
,
'CoKvdman',
('', 'domain', aemreceive.kae.typeUnicodeText)
)
app = quickwhoApp(None)
app.mainloop()
This plays nicer with aemreceive's procedural API.
Thanks,
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
On 1/12/10 2:13 PM, has wrote:
Kevin Walzer wrote:
You don't pass self to a bound method in Python. Delete the ('', 'self',
...) tuple.
HTH
One more follow-up:
The code now works! I run this code in Script Editor:
tell application QuickWho
get domain codebykevin.com
end tell
, and and it's only minimally
maintained, so the extensive work needed to make it 64-bit capable has
not yet been done.
So, thanks again to has for his good work on this! And looking forward
to additional advice on the package.
Best,
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
: name 'fooApp' is not defined
What's the best way to structure the command so that it can be seen from
AppleScript, i.e. run in the proper scope and not return an error?
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG
On 1/10/10 3:08 PM, Kevin Walzer wrote:
What's the best way to structure the command so that it can be seen from
AppleScript, i.e. run in the proper scope and not return an error?
Never mind about the scope question--I found that simply adding the
aemreceive bits and the custom function
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. However
commands or simply as Python commands accessed via the
run script command. The goal *isn't* to encourage arbitrary Python
snippets.
Thanks,
Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Pythonmac-SIG maillist - Pythonmac-SIG
, 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
http://mail.python.org/mailman/listinfo
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 you'll need
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
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
patches--I'm sure that others will find them useful.
--Kevin
--
Kevin Walzer
Code by Kevin
http
/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
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
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 Walzer
Code by Kevin
http
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
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http
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
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://www.codebykevin.com
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
___
Pythonmac-SIG maillist - Pythonmac
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 maillist - Pythonmac-SIG@python.org
http
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
.
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
1 - 100 of 286 matches
Mail list logo