Thanks! That's what I figured, but I wanted to be sure I wasn't
missnig something.
On 5/12/05, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> I'll put some hooks into py2app 0.2 to pick these up.. but:
>
> from distutils.core import setup
> import py2app
> import os
> import EasyDialogs
> plat_mac = o
I'll put some hooks into py2app 0.2 to pick these up.. but:
from distutils.core import setup
import py2app
import os
import EasyDialogs
plat_mac = os.path.dirname(EasyDialogs.__file__)
rsrcFile = os.path.join(plat_mac, 'dialogs.rsrc')
setup(
data_files=[rsrcFile],
...
)
On May 12, 2005,
I should clarify: when I ask "what's the right way to point to the
file", I mean rather than hardcoding the path to the file in my Python
installation, if anyone knows the correct way to get the file path in
Python code. (I could do something like EasyDialogs.__file__ and then
grab the directory fr
I have an application that uses EasyDialogs and is packaged up with
py2app. When I run it, it seems to have trouble finding dialogs.rsrc:
File "EasyDialogs.pyc", line 193, in AskYesNoCancel
File "EasyDialogs.pyc", line 49, in _initialize
File "macresource.pyc", line 63, in need
macresource.R