On Monday, 13 May 2013 00:13:16 UTC+9, Hartmut Goebel wrote:
>
> Am 12.05.2013 13:07, schrieb Laurence Anthony:
>
> Back in 2010, Martin Zibricky wrote about adding a folder to --onefile.
> The method was simply to change the following:
> coll = COLLECT(exe, a.binaries, ...
>
> to:
> coll = COLLECT(exe, a.binaries + [('testFolder', 'C:/testFolder',
> 'DATA')], ...
>
>
> I doubt, this ever as been working, as DATA is marking a file ever since.
>
> You could try adding a hidden file, which should create the directory:
>
> [('testFolder/.dummy', 'some_empty_file', 'DATA')]
>
> --
>
Thanks for the reply. If I want to add the entire contents of a directory
(and its sub directories), does this mean that the best solution is to walk
through the source directory structure and add each file one at a time
using some script? I saw a similar suggestion on StackOverflow:
http://stackoverflow.com/a/13656127/548598. If I do this, can I then refer
to the copied data structure using "testFolder" (perhaps combined with the
very useful script here: http://stackoverflow.com/a/7675014/548598)?
Laurence.
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.