You could use the python glob module to get a list of files.

On 05/06/2011 07:23 PM, George Edison wrote:
I am packaging a Python application for Windows and decided to give
PyInstaller a try. The program has worked very well and I was able to
individually select data files for inclusion in my .spec file like so:

...
coll = COLLECT( ...
     a.datas + ('html/index.html', 'path\\to\\html\\index.html',
'DATA')],
...

This includes the file, but it is a very inefficient way of specifying
a large number of files. Is there some way I can include every file in
a given folder without specifying each one by name?


--
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