I really don't get it..
I tried to add it to the data_files section, but all that does is copy
the files.
How should the files be added? With other_resources as something like
this..?
other_resources = [
("dabo/locale/dabo.pot", 1, <read dabo.pot here>),
("dabo/locale/en/LC_MESSAGES/dabo.mo", 1, <read dabo.mo here>),
]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ed Leafe
Sent: 22. august 2007 15:08
To: Dabo Users list
Subject: Re: [dabo-users] Localization and py2exe
On Aug 22, 2007, at 8:57 AM, Simen Haugen wrote:
> Don't think I understand..
>
> I have the following structure:
> .\prog.exe
> .\dabo\locale\en\LC_MESSAGES\dabo.mo
>
> I have also tried:
> .\prog.exe
> .\locale\en\LC_MESSAGES\dabo.mo
>
> And
> .\prog.exe
> .\dabo.pot
> .\en\LC_MESSAGES\dabo.mo
>
> I get the same error on all three.
No, you need the locale stuff built into the py2exe output, just
like other resources such as icons, etc., that the module finder
can't possibly locate. This means a change to the setup.py file used
to create the exe.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]