Possible GUI2Exe Improvements?

Hi All,

    I released yesterday a new version of GUI2Exe:

http://code.google.com/p/gui2exe/

which doesn't really contain any new feature but just a simple fix for
Windows platforms. But today I was thinking about it: if there is
still someone using it, does he/she have any new suggestion on what to
add/improve/modify to enhance the application? Do you have any feature
request you would like to be included in GUI2Exe? If the answer is
"yes", please let me know :smiley:

Sorry for the huge cross-post and for wasting bandwidth :wink:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Andrea Gavana escribió:

Hi All,

    I released yesterday a new version of GUI2Exe:

http://code.google.com/p/gui2exe/

which doesn't really contain any new feature but just a simple fix for
Windows platforms. But today I was thinking about it: if there is
still someone using it, does he/she have any new suggestion on what to
add/improve/modify to enhance the application? Do you have any feature
request you would like to be included in GUI2Exe? If the answer is
"yes", please let me know :smiley:

Sorry for the huge cross-post and for wasting bandwidth :wink:

Andrea.

Great project!

I'll take a look at it, at first I've had to patch a little bug [1], but it seems very promising. :slight_smile:

At first, I'd say that it laks spanish language support :stuck_out_tongue:

[1] Google Code Archive - Long-term storage for Google Code Project Hosting.

Thanks,
Marcelo

···

--
Marcelo F. Fernández
Buenos Aires, Argentina
Licenciado en Sistemas - CCNA

E-Mail: fernandezm22@yahoo.com.ar
Jabber ID: fernandezm22@jabber.org
Public Key ID: 5C990A6C 111C3661
Blog: http://marcelosoft.blogspot.com

Hi Marcelo,

Great project!

I'll take a look at it, at first I've had to patch a little bug [1], but it
seems very promising. :slight_smile:

This has been fixed (hopefully) in the SVN trunk. I don't know how
this bug came in, I have tested GUI2Exe using my Linux Virtual Machine
in the past and it always worked...

At first, I'd say that it laks spanish language support :stuck_out_tongue:

I welcome every possible effort for translations here:

https://launchpad.net/gui2exe

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Sat, Feb 7, 2009 at 3:34 PM, Marcelo Fernández wrote:

Andrea,

Hi All,

    I released yesterday a new version of GUI2Exe:

http://code.google.com/p/gui2exe/

which doesn't really contain any new feature but just a simple fix for
Windows platforms. But today I was thinking about it: if there is
still someone using it, does he/she have any new suggestion on what to
add/improve/modify to enhance the application? Do you have any feature
request you would like to be included in GUI2Exe? If the answer is
"yes", please let me know :smiley:

Sorry for the huge cross-post and for wasting bandwidth :wink:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Just so you know, I use GUI2Exe exclusively to create my executables. I think the only "feature request" I can think of off the top of my head is additional documentation. Like how to wrap our applications up for Mac and Linux. Maybe you already have some samples and I've just missed them?

Thanks for all your hard work!

···

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org

Hi Andrea,
I'd like to see "save as" for projects, so that a project could be saved as a basis for a new project (e.g., use all parameters but the file and directory names).
Thanks,
Ron.

···

-----Original Message-----
From: Marcelo Fernández [mailto:fernandezm22@yahoo.com.ar]
Sent: Saturday, February 07, 2009 17:35
To: wxpython-users@lists.wxwidgets.org
Subject: Re: [wxpython-users] Possible GUI2Exe Improvements?

Andrea Gavana escribió:

Hi All,

    I released yesterday a new version of GUI2Exe:

http://code.google.com/p/gui2exe/

which doesn't really contain any new feature but just a simple fix for
Windows platforms. But today I was thinking about it: if there is
still someone using it, does he/she have any new suggestion on what to
add/improve/modify to enhance the application? Do you have any feature
request you would like to be included in GUI2Exe? If the answer is
"yes", please let me know :smiley:

Sorry for the huge cross-post and for wasting bandwidth :wink:

Andrea.

Ron,

Barak, Ron wrote:

Hi Andrea,
I'd like to see "save as" for projects, so that a project could be saved as a basis for a new project (e.g., use all parameters but the file and directory names).
  

Just jump onto Andrea's time machine :wink: , i.e. right click the project in the left listctrl and use to last option on the menu.

Werner

Hi Werner,

I’m not sure if I understand you.

If I right click on the project name on the “TreeCtrl”, I see the options:

Load project(s)

Edit project name


Delete project(s)

I don’t think you mean I should choose Delete project(s) ?!

This is the version I use:

Bye,

Ron.

···

-----Original Message-----
From: Werner F. Bruhin [mailto:werner.bruhin@free.fr]
Sent: Sunday, February 08, 2009 12:45
To: wxpython-users@lists.wxwidgets.org
Subject: Re: [wxpython-users] Possible GUI2Exe Improvements?

Ron,

Barak, Ron wrote:

Hi Andrea,
I’d like to see “save as” for projects, so that a project could be saved as a basis for a new project (e.g., use all parameters but the file and directory names).

Just jump onto Andrea’s time machine :wink: , i.e. right click the project in the left listctrl and use to last option on the menu.

Werner

Hi Ron,

You got an old version.

moz-screenshot-97.jpg

I get GUI2Exe from SVN, but I am pretty sure that Andrea had release
0.2 some time ago.

Werner

Hi All,

···

On Sun, Feb 8, 2009 at 2:00 PM, Werner F. Bruhin wrote:

I get GUI2Exe from SVN, but I am pretty sure that Andrea had release 0.2
some time ago.

There is a 0.3 version out, which I released a couple of days ago, here:

http://code.google.com/p/gui2exe/downloads/list

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Hi Werner,

Could you send me the SVN command you used to update your GUI2Exe ?

(When I downloaded and installed from http://xoomer.alice.it/infinity77/main/GUI2Exe.html, I still see version 0.1)

Thanks,

Ron.

···

From: Werner F. Bruhin [mailto:werner.bruhin@free.fr]
Sent: Sunday, February 08, 2009 16:00
To: Barak, Ron
Cc:
wxpython-users@lists.wxwidgets.org
Subject: Re: GUI2Exe “save as” for projects

Hi Ron,

You got an old version.

I get GUI2Exe from SVN, but I am pretty sure that Andrea had release 0.2 some time ago.

Werner

Hi Andrea,

Last I installed GUI2Exe, I used your installer http://xoomer.alice.it/infinity77/Zipped/Install_GUI2Exe.exe.

I tried to installed 0.3 from the command line, but got:

$ python Setup.py build
running build
c:\Python25\lib\distutils\dist.py:263: UserWarning: Unknown distribution option: ‘windows’
warnings.warn(msg)
c:\Python25\lib\distutils\dist.py:263: UserWarning: Unknown distribution option: ‘zipfile’
warnings.warn(msg)

$ python Setup.py install
running install
running build
running install_data
running install_egg_info
Removing c:\Python25\Lib\site-packages\UNKNOWN-0.0.0-py2.5.egg-info
Writing c:\Python25\Lib\site-packages\UNKNOWN-0.0.0-py2.5.egg-info
c:\Python25\lib\distutils\dist.py:263: UserWarning: Unknown distribution option: ‘windows’
warnings.warn(msg)
c:\Python25\lib\distutils\dist.py:263: UserWarning: Unknown distribution option: ‘zipfile’
warnings.warn(msg)

When I checked, I see that I still have GUI2Exe 0.1

Do you have installation hints (for install from source) somewhere ?

Bye,
Ron.

···

-----Original Message-----
From: Andrea Gavana [mailto:andrea.gavana@gmail.com]
Sent: Sunday, February 08, 2009 16:24
To: wxpython-users@lists.wxwidgets.org
Subject: Re: [wxpython-users] Re: GUI2Exe “save as” for projects

Hi All,

On Sun, Feb 8, 2009 at 2:00 PM, Werner F. Bruhin wrote:

I get GUI2Exe from SVN, but I am pretty sure that Andrea had release
0.2 some time ago.

There is a 0.3 version out, which I released a couple of days ago, here:

http://code.google.com/p/gui2exe/downloads/list

Andrea.

“Imagination Is The Only Weapon In The War Against Reality.”
http://xoomer.alice.it/infinity77/

Hi,
I have tested you new version 0.3 and it's great!

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

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.

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.

Christian

Andrea Gavana schrieb:

···

Hi All,

    I released yesterday a new version of GUI2Exe:

http://code.google.com/p/gui2exe/

which doesn't really contain any new feature but just a simple fix for
Windows platforms. But today I was thinking about it: if there is
still someone using it, does he/she have any new suggestion on what to
add/improve/modify to enhance the application? Do you have any feature
request you would like to be included in GUI2Exe? If the answer is
"yes", please let me know :smiley:

Sorry for the huge cross-post and for wasting bandwidth :wink:

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Hi Christian,

Hi,
I have tested you new version 0.3 and it's great!

Thank you :smiley:

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:

import glob
import os

baseDir = baseDir = os.getcwd()
myIcons = glob.glob(os.path.join(baseDir, yourIconFolderName') + '\\*.ico')
data_files += [("yourIconFolderName", contribBase)]

Sorry, this should be:

import glob
import os

baseDir = os.getcwd()
myIcons = glob.glob(os.path.join(baseDir, yourIconFolderName) + '\\*.ico')
data_files += [(yourIconFolderName, myIcons)]

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

Ron,

The SVN stuff is pure code whereas the 0.1 version you grabbed was an executable. Just go to Google Code Archive - Long-term storage for Google Code Project Hosting. and download the 0.3 zip file. Extract it somewhere on your system and then run the GUI2exe.py file with Python. That's what I've been doing of late. I suppose it would be good to make a binary too...maybe Andrea or Cody will do that. I could take a whack myself if I ever get a free moment.

Mike

···

Hi Werner,
Could you send me the SVN command you used to update your GUI2Exe ?
(When I downloaded and installed from http://xoomer.alice.it/infinity77/main/GUI2Exe.html, I still see version 0.1)
Thanks,
Ron.

    ------------------------------------------------------------------------
    *From:* Werner F. Bruhin [mailto:werner.bruhin@free.fr]
    *Sent:* Sunday, February 08, 2009 16:00
    *To:* Barak, Ron
    *Cc:* wxpython-users@lists.wxwidgets.org
    *Subject:* Re: GUI2Exe "save as" for projects

    Hi Ron,

    You got an old version.

    I get GUI2Exe from SVN, but I am pretty sure that Andrea had
    release 0.2 some time ago.

    Werner

------------------------------------------------------------------------

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Hi,
that's a valid workaround, thank you!

I tried your svn version and after 'updating' the project database was empty. That;s obvious, I deleted the database. Okay no problem, I still have my projekt files. But importing seems not to be trivial. How can I import existing project files (g2e)? I haven't found any menu entry.
There is an entry on new/existing project called 'import from file', but when I choose my g2e file it prompts 'invalid or currupt project file'. Furthermore that's a very unintuitive position to import complete selfincluding project files and I suppose that this function is to import existing setup.py files of the builders.

I would be pleased if you could clarify that
Christian

Andrea Gavana schrieb:

···

import glob
import os

baseDir = baseDir = os.getcwd()
myIcons = glob.glob(os.path.join(baseDir, yourIconFolderName') + '\\*.ico')
data_files += [("yourIconFolderName", contribBase)]
    
Sorry, this should be:

import glob
import os

baseDir = os.getcwd()
myIcons = glob.glob(os.path.join(baseDir, yourIconFolderName) + '\\*.ico')
data_files += [(yourIconFolderName, myIcons)]

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

Hi Christian,

Hi,
that's a valid workaround, thank you!

I tried your svn version and after 'updating' the project database was
empty. That;s obvious, I deleted the database. Okay no problem, I still have
my projekt files. But importing seems not to be trivial. How can I import
existing project files (g2e)? I haven't found any menu entry.
There is an entry on new/existing project called 'import from file', but
when I choose my g2e file it prompts 'invalid or currupt project file'.

This is a bug, introduced when I was working on py2app PList
dictionaries. It seems pretty easy to fix, I'll do it this evening if
I get a chance.

Furthermore that's a very unintuitive position to import complete
selfincluding project files and I suppose that this function is to import
existing setup.py files of the builders.

No, this functionality does not exist (importing from existing
setup.py files). BTW, if it is unintuitive, where do you think it
should go? "Importing from file" requires that you already have
something (like an item in the project tree) to import into, otherwise
there is no target for the importing... I can import it from file, but
where I will put it :-D?

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

···

On Mon, Feb 9, 2009 at 4:57 PM, Christian wrote:

Hi Andrea,

Andrea Gavana wrote:

This is a bug, introduced when I was working on py2app PList
dictionaries. It seems pretty easy to fix, I'll do it this evening if
I get a chance.
  

Good to know that it is was not my fault :slight_smile:
I don't need it soon, so do it when you have time!

  

Furthermore that's a very unintuitive position to import complete
selfincluding project files and I suppose that this function is to import
existing setup.py files of the builders.
    
No, this functionality does not exist (importing from existing
setup.py files). BTW, if it is unintuitive, where do you think it
should go? "Importing from file" requires that you already have
something (like an item in the project tree) to import into, otherwise
there is no target for the importing... I can import it from file, but
where I will put it :-D?

I find it unintuitive that you have to create a project in the first place. The menu item should be places in the file menu or in a context menu when right clicking on 'My projects' or an empty place of the tree control. Then a new project should be generated and with the settings of the given file. There are several methods to get a projects name. Some possibilities I could think of are:
- ask the user via prompt
- write the project name in the project file and then use it on load / import
- use a standard name as for new project 'GUI2Exe Projects' so that the user could change it afterwards

On collisions there should be a simple strategy.

My bad feelings comes from:
You can't create a new project and then load from it, you has to save it first. Hence you end up with two different projects. By loading a project you loose your old project while overwriting it with a different one. It's questionable what happens with the old project. Are there any settings kept? I think that's a user-case which isn't typical. In such a case I would prefer deleting the project and then load a new project from a file and give it the same name. Then it is obvious that you have 2 projects and replaced the first one with a completely different one. Furthermore it is clear, that they are completely independent and no settings are migrated from one to the other.

I know when you design a program, use it as it should be used and furthermore know all it's internal structure and complexity it is hard to detect these user-case flaws. But perhaps you can agree with me afterwards.

Christian