Closed GoogleCodeExporter closed 9 years ago
Hi,
you can already do what you ask for data_files by using the "Custom Code" option
in GUI2Exe (menu "Options" => "Add Custom Code"). This code will be put in your
setup.py file and executed. It can be whatever kind of code you like, but
specifically for the data_files option you can do something like this:
mygif = glob.glob(baseFolder+"\\program\\images\\*.gif")
data_files += [("images", mygif)]
Original comment by andrea.gavana@gmail.com
on 28 Dec 2009 at 3:25
Wonderful! Thanks, Andrea - sorry to report this as an issue.
Original comment by spro...@gmail.com
on 28 Dec 2009 at 4:54
I am closing this, unless someone has more to add to it :-D
Original comment by andrea.gavana@gmail.com
on 2 Mar 2010 at 9:35
Original issue reported on code.google.com by
spro...@gmail.com
on 27 Dec 2009 at 3:37