Issue 14 in gui2exe: Wishlish: support for folders in 'data files'

1 view
Skip to first unread message

codesite...@google.com

unread,
Dec 26, 2009, 10:38:52 PM12/26/09
to gui...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 14 by sproaty: Wishlish: support for folders in 'data files'
http://code.google.com/p/gui2exe/issues/detail?id=14

What steps will reproduce the problem?
1. select recursive directory add
2. add a folder
3. create some new files in the folder/sub-folders
4. the items from the folder in GUI2EXE's 'data files' list must be
deleted, because re-adding the same folder over and over will keep adding
to the data file list
5. After deleting the folder's "old" file list, and the user must re-add
the folder

What is the expected output? What do you see instead?

Adding a folder would 'glob' the files to process at compile time.
This means there is less manual configuration spent, as you just specify a
folder initially and its current contents will always be used. Useful for
help folders, translations and images/other resources.

What version of GUI2Exe, Python and wxPython are you using? On what
operating system?

Please provide any additional information below.

also, an option to disable the splash screen would be nice. regards,
Steven Sproat


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Dec 28, 2009, 10:25:16 AM12/28/09
to gui...@googlegroups.com

Comment #1 on issue 14 by andrea.gavana: Wishlish: support for folders

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

codesite...@google.com

unread,
Dec 28, 2009, 11:55:28 AM12/28/09
to gui...@googlegroups.com

Comment #2 on issue 14 by sproaty: Wishlish: support for folders in 'data
files'
http://code.google.com/p/gui2exe/issues/detail?id=14

Wonderful! Thanks, Andrea - sorry to report this as an issue.

Reply all
Reply to author
Forward
0 new messages