Please do test it! In the past, numerous people asked how to add a folder of items. The Tree documentation was refined to specifically respond to such queries.
I would suggest that the new documentation should make it clear that a single file *or folder of files* can be added in this way. L. On 19 September 2015 at 14:20, David Cortesi <[email protected]> wrote: > > > On Fri, Sep 18, 2015 at 7:05 PM, Laurence Anthony <[email protected]> > wrote: > >> Do the data= and binaries= options allow for adding a directory of files? >> If not, the Tree option is still really useful. Are you saying you would >> delete this from the docs? >> > > I hope it is the case that one can edit the spec file so: > > a = Analysis( ... datas=[ ( '../../aspell/dict', 'dict' ) ], .... ) > > and the complete folder of dictionary files in the bundle. Also since it > supports "glob" it should work that: > > extra_datas = [ ( '/gamedev/sfx/*.mp3' , 'mp3' ), > ( '../../aspell/dict', 'dict' ) ] > a = Analysis( ... datas=extra_datas, ... ) > > Because those are examples I just put into the manual 😉 > Hmmm. Perhaps I should test this? > > -- > 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. > For more options, visit https://groups.google.com/d/optout. > -- 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. For more options, visit https://groups.google.com/d/optout.
