Hi Christian,
Hi,
I have tested you new version 0.3 and it's great!
Thank you
I am using py2exe for my projects and was able to get a equivalent setup in
you program. I am interested in the other GUI2Exe builders, you have
integrated, but I wasn't able to get what I want, based on the hint in the
program. Perhaps I just have to look at the according manuals of the
different builders.
I think this is the correct approach, GUI2Exe itself is just a
graphical interface to those builders.
I have some little suggestions for the py2exe builder:
- I wasn't able to add file that should be placed in the dist folder
(readme.txt, license.txt). I added the files to the 'Data files' but
couldn't give a empty dictionary name at the dialog, that appears after the
file-dialog. I was a little confused and tried '/' and '.' as names, but
both didn't work. After a while I deleted the dictionary string in the list
box itself and was a little surprised as it worked.
It should work by simply using "." as destination folder for the
data_files option. It works for me.
- The hint of 'compressed' isn't very helpful, I had to find out the meaning
by trying (that 2 is most compressed and not 0).
- The hint of 'bundle files' is confusing. In the combobox the list is 1, 2,
3 and in the hint the options are listed as 3, 2, 1. I wasn't mislead in the
first place when I read the whole hint. But if you just want to know what
the 'first' option means you look at the top item at the hint file and get
the wrong information.
Fixed in Revision 53 in SVN.
On more suggestion to the 'Data file' controls. In many of my projects I
have a icon folder with my icons, that grows over time. It would be neat if
you would add a separate icon to add folders in order to add folders as an
items. I mean one item for every folder you add. On compile-time these
folder-items are evaluated and the files are recursively added. Hence if you
add icons you don't have to import them. In you current implementation you
are adding the files in the folder at add time, which doesn't have that
advantage.
This is easy to add without modifying the GUI2Exe code: simply use the
"Add custom code" menu in the "Options" menu, and you write in the
text editor something like this:
import glob
import os
baseDir = baseDir = os.getcwd()
myIcons = glob.glob(os.path.join(baseDir, yourIconFolderName') + '\\*.ico')
data_files += [("yourIconFolderName", contribBase)]
That's it. Whatever icons you add/remove from that folder, every time
you compile your scripts into executable this code will be
re-evaluated.
After all the folder picker dialog for the data files with the recurse
sub-dirs option is broken. I can't expand my icon folder, which contains a
hidden sub-folder '.svn'. My first thought was: Oh you are ignoring svn
folders or hidden folders. But everything in the '.svn' folder is added when
I select the icon folder with a *.* wildcald.
This is fixed in Revision 53 in SVN. For some reason, the default
behavior of wx.GenericDirCtrl is not to show hidden folders, whatever
the option is on the native OS.
Thank you for your suggestions.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
···
On Mon, Feb 9, 2009 at 2:27 PM, Christian wrote: