On 6/19/2009 10:13 AM, sandro dentella wrote:
> Hi,
> 
>    I'm trying to add data to an executable created with 'onedir'
> option.
>    I'd like to ad a 'locale' and a 'demo' dir, so I edited
> sqledit.spec as
>    follows::
> 
>       coll = COLLECT( exe,
>            a.binaries,
>            a.zipfiles,
>            a.datas,
>             [('README','/misc/src/hg/py/sqlkit/README','DATA')],
>             [('locale','/misc/src/hg/py/sqlkit/sqlkit/locale','DATA')],
>            strip=False,
>            upx=True,
>            name=os.path.join('dist', 'sqledit'))
> 
>     But Buid.py complains it is a directory. What's the way to add a
>     hierarchy of files?  Will that be enought to activate locale
> support to
>     the executable?

Have a look at Tree() in the manual.
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/PyInstaller?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to