Possible GUI2Exe Improvements (2)

Hi All,

    I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

I didn't put the py2exe, PyInstaller, cx_Freeze ,py2app and bbFreeze
mailing lists in CC, as I think there aren't that many users of
GUI2Exe out there and I didn't want to waste bandwidth.

Thank you for your suggestions.

Andrea.

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

Hi,

* Automatic generation of a simple NSIS/Innosetup installation script *

Regards

David

···

On Sun, 17 May 2009 19:47:52 +0100, Andrea Gavana <andrea.gavana@gmail.com> wrote:

Hi All,

    I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

David Lyon wrote:

···

On Sun, 17 May 2009 19:47:52 +0100, Andrea Gavana <andrea.gavana@gmail.com> > wrote:
  

Hi All,

    I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.
    
Hi,

* Automatic generation of a simple NSIS/Innosetup installation script *
  

I don't know about NSIS, but if you use the ISTool for InnoSetup it has a built in wizard which makes creation of the initial script for an application very easy.

IMHO, this would be a bit of a waste of Andrea's time.

But this is just by € 0.02
Werner

I have used your program and appreciate it. I would like to request
support for building a COM server on Windows. As you probably know,
there are samples for doing this with py2exe. I have had a need to
build COM servers that enable applications developed in other languages
to access functionality available in Python modules.

Thanks for considering this,
Jamal

···

-----Original Message-----
From: wxpython-users-bounces@lists.wxwidgets.org
[mailto:wxpython-users-bounces@lists.wxwidgets.org] On Behalf Of Andrea
Gavana
Sent: Sunday, May 17, 2009 2:48 PM
To: gui2exe@googlegroups.com
Cc: wxpython-users@lists.wxwidgets.org
Subject: [wxpython-users] Possible GUI2Exe Improvements (2)

Hi All,

    I am about to release a new (0.4 alpha) version of GUI2Exe, in which
I changed few things from the UI perspective. I was wondering if someone
had new ideas/feature requests which he/she would like to see included
in the next release. I am open to all suggestions, as usual.

I didn't put the py2exe, PyInstaller, cx_Freeze ,py2app and bbFreeze
mailing lists in CC, as I think there aren't that many users of GUI2Exe
out there and I didn't want to waste bandwidth.

Thank you for your suggestions.

Andrea.

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

Hi All,

David Lyon wrote:

Hi All,

I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

Hi,

* Automatic generation of a simple NSIS/Innosetup installation script *

I don't know about NSIS, but if you use the ISTool for InnoSetup it has a
built in wizard which makes creation of the initial script for an
application very easy.

IMHO, this would be a bit of a waste of Andrea's time.

Well, in the end I have implemented it today :-D. It is only for
py2exe and only for Inno Setup at the moment (I have never used NSIS
so I left it out for the moment). The only doubt I am having is: after
the creation of the Inno Setup script (which is a very simple one and
far from complete), should GUI2Exe attempt to compile it directly into
an installer or simply start the associated *.iss editor?

Anyway, please keep new ideas coming!

Andrea.

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

···

On Mon, May 18, 2009 at 2:48 PM, Werner F. Bruhin wrote:

On Sun, 17 May 2009 19:47:52 +0100, Andrea Gavana >> <andrea.gavana@gmail.com> >> wrote:

Andrea Gavana wrote:

Hi All,

David Lyon wrote:
    

Hi All,

   I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

Hi,

* Automatic generation of a simple NSIS/Innosetup installation script *

I don't know about NSIS, but if you use the ISTool for InnoSetup it has a
built in wizard which makes creation of the initial script for an
application very easy.

IMHO, this would be a bit of a waste of Andrea's time.
    
Well, in the end I have implemented it today :-D. It is only for
py2exe and only for Inno Setup at the moment (I have never used NSIS
so I left it out for the moment). The only doubt I am having is: after
the creation of the Inno Setup script (which is a very simple one and
far from complete), should GUI2Exe attempt to compile it directly into
an installer or simply start the associated *.iss editor?

Anyway, please keep new ideas coming!

Andrea.
  
I'd probably want it to just open the editor since I'd probably have additional tweaks to add to it. Here's a random idea too that's probably too complicated:

Have GUI2Exe create an egg or maybe the setup script to create an egg.

Anyway, thanks for continuing to work on this project.

- Mike

···

On Mon, May 18, 2009 at 2:48 PM, Werner F. Bruhin wrote:

On Sun, 17 May 2009 19:47:52 +0100, Andrea Gavana >>> <andrea.gavana@gmail.com> >>> wrote:

Andrea,

Other possible ideas:

1. Can you make the setup script generation template driven using
string.Template and a dictionary of common attributes?

This way developers can supply their own setup templates - whether
InnoSetup, NSIS, or other?

2. Can you make the setup generation command line parameter driven so
developers can supply their own, setup-utility-generator specific
command lines?

This would give developers the ability to choose a direct compilation
vs. opening a generated script in an editor.

Perhaps both of the above items could be additional properties set in an
application's setup.py file?

Thanks for all your contributions to the wxPython and py2exe
communities!

Regards,
Malcolm

Hi Andrea. I haven't looked at the state of GUI2Exe in awhile, and I am
not sure what features and GUI layout and such it has at the moment.
Is there an already-written list of features somewhere that one can look
over? Right now I don't have time to get an SVN version and play with
it, but if there is a basic list of features, maybe just looking that over
would jog some ideas from the community?

Thanks again for this great tool,
Che

···

On Sun, May 17, 2009 at 2:47 PM, Andrea Gavana <andrea.gavana@gmail.com> wrote:

Hi All,

I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

C M wrote:

  

Hi All,

   I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.
    
Hi Andrea. I haven't looked at the state of GUI2Exe in awhile, and I am
not sure what features and GUI layout and such it has at the moment.
Is there an already-written list of features somewhere that one can look
over? Right now I don't have time to get an SVN version and play with
it, but if there is a basic list of features, maybe just looking that over
would jog some ideas from the community?

Thanks again for this great tool,
Che

Here's what the main GUI2Exe page says (http://code.google.com/p/gui2exe/):

GUI2Exe has a number of features, namely:

    * Saves and stores your work in a database, displaying all your projects in a tree control;
    * Possibility to export the Setup.py file, even though you shouldn't ever need anymore to have a Setup.py file, as everything is done automagically inside GUI2Exe;
    * Ability to change the Python version to use to build the executable;
    * Allows the user to insert custom Python code in the "in-memory" Setup.py file, which will be properly included at runtime during the building process;
    * Allows the user to add post-processing custom code, which will be executed at the end of the building process. Useful for cleaning up;
    * Possibility to view the full build output coming from the compiler;
    * Allows the user to add data_files (for the executable builders that support this option) either by selecting a bunch of files all together or using a directory-recursive approach, which will include all files and sub-folders in the selected folders as data_files;
    * "Super" tooltips for the users to better understand the various options;
    * GUI2Exe projects can be saved also to a file (and not only in the database): the exported project may then be checked into version control software like CVS or SVN, modified and then reloaded into GUI2Exe;
    * Ability to test the executable: if the executable crashes, GUI2Exe will notice it and report to you the traceback for inspection;
    * py2exe-only: After a building process, choosing the menu Builds => Missing modules or Builds => Binary dependencies, you will be presented respectively with a list of modules py2exe thinks are missing or a list of binary dependencies (dlls) py2exe has found.

···

On Sun, May 17, 2009 at 2:47 PM, Andrea Gavana <andrea.gavana@gmail.com> wrote:

C M wrote:

Hi All,

I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

Hi Andrea. I haven't looked at the state of GUI2Exe in awhile, and I am
not sure what features and GUI layout and such it has at the moment.
Is there an already-written list of features somewhere that one can look
over? Right now I don't have time to get an SVN version and play with
it, but if there is a basic list of features, maybe just looking that over
would jog some ideas from the community?

Thanks again for this great tool,
Che

Here's what the main GUI2Exe page says (http://code.google.com/p/gui2exe/):

Thanks, Mike. I'll still just ask Andrea to confirm that this is all current to
the latest version (alpha 0.4?). Based on this list, two question/suggestions
which may or may not be coherent:

* Allows the user to add post-processing custom code, which will be
executed at the end of the building process. Useful for cleaning up;

What does "cleaning up" mean here? One thing that cleaning up reminds
me of, is: could it be possible that on the occasions when the building
process fails, the directory in which the .exe file was to be made could
be cleared? I seem to recall that when I last used it, even when it failed
to make a runnable .exe file, the file would remain, plus the two other
files (wxpopopen and a Microsoft dll). I usually manually deleted them
before another try of py2exe. Automatically clearing failed tries would
be nice.

* "Super" tooltips for the users to better understand the various options;

That would be very helpful, particularly in that in the earliest version I
had no sense of what the various flag options actually did. Like the
1, 2, or 3 settings for "optimized", "compressed" or "Bundle files".
Maybe even renaming these to something more intuitive, like "Most
compressed" or something such...with a super tooltip... Just more
explanatory here.

Along those lines, if we can get more documentation or something
for how to bundle up things like matplotlib or any outside libraries,
that'd be good. I recall having to ask Andrea directly, but maybe
that wisdom could come included with GUI2Exe? Although maybe
that is just what this next point is for:

* py2exe-only: After a building process, choosing the menu Builds =>
Missing modules or Builds => Binary dependencies, you will be presented
respectively with a list of modules py2exe thinks are missing or a list of
binary dependencies (dlls) py2exe has found.

If I think of anything else, I'll add it later.

Che

···

On Mon, May 18, 2009 at 5:19 PM, Mike Driscoll <mike@pythonlibrary.org> wrote:

On Sun, May 17, 2009 at 2:47 PM, Andrea Gavana <andrea.gavana@gmail.com> >> wrote:

and perphaps a name improvemnent - GUI Windows Application Builder.. or
something more ominous...

···

On Mon, 18 May 2009 16:27:53 +0100, Andrea Gavana <andrea.gavana@gmail.com> wrote:

   I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

Hi Che,

C M wrote:

Hi All,

I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

Hi Andrea. I haven't looked at the state of GUI2Exe in awhile, and I am
not sure what features and GUI layout and such it has at the moment.
Is there an already-written list of features somewhere that one can look
over? Right now I don't have time to get an SVN version and play with
it, but if there is a basic list of features, maybe just looking that over
would jog some ideas from the community?

Thanks again for this great tool,
Che

Here's what the main GUI2Exe page says (http://code.google.com/p/gui2exe/):

Thanks, Mike. I'll still just ask Andrea to confirm that this is all current to
the latest version (alpha 0.4?).

There will be some more adjustments/improvements in 0.4, namely:

- wx.lib.agw.aui is used instead of wxAUI on all platforms except Mac (done);
- I'd like to switch from using wx.ListCtrl to UltimateListCtrl for
sake of clarity in the list controls, having "import" buttons and
comboboxes coming out of nowhere when you click on a list item may be
a bit surprising for the user. But no one has tested UltimateListCtrl
on the Mac so I don't know if it works (not yet done);
- Possibility to use UPX compression on dlls/exes while compiling
(py2exe only, PyInstaller has it built-in as an option) (done);
- Automatic generation of simple Inno Setup scripts (py2exe only) (done);
- Support for more keywords in the Target class (i.e., all distutils
keywords will be supported, not only "Version", "Program Name",
"Description" and "Author" as it is right now); this will also close
Issue 4 on the bug tracker (done);
- Possibly support COM servers and Windows services: this will
probably require some big re-design so I am not sure I will be able to
do it, but I am thinking about it (not done).

Based on this list, two question/suggestions
which may or may not be coherent:

* Allows the user to add post-processing custom code, which will be
executed at the end of the building process. Useful for cleaning up;

What does "cleaning up" mean here? One thing that cleaning up reminds
me of, is: could it be possible that on the occasions when the building
process fails, the directory in which the .exe file was to be made could
be cleared? I seem to recall that when I last used it, even when it failed
to make a runnable .exe file, the file would remain, plus the two other
files (wxpopopen and a Microsoft dll). I usually manually deleted them
before another try of py2exe. Automatically clearing failed tries would
be nice.

This is a nice idea, I'll implement it as an option. BTW, "cleaning
up" in the context of post-compilation code means that, for example
using py2exe, you can delete the "build" folder when the compilation
is done. But basically the post-compile code allows you to do whatever
you like (in Python code) *after* the building process has finished.

* "Super" tooltips for the users to better understand the various options;

That would be very helpful, particularly in that in the earliest version I
had no sense of what the various flag options actually did. Like the
1, 2, or 3 settings for "optimized", "compressed" or "Bundle files".
Maybe even renaming these to something more intuitive, like "Most
compressed" or something such...with a super tooltip... Just more
explanatory here.

They are already there: if you enable the tooltips (menu "Options" =>
"Show tooltips"), almost every widget in the UI will show a
detailed-enough description of what the option associated to the
widget does.

Thanks to everyone for your comments, they are very useful, as usual.
Keep them coming :wink:

Andrea.

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

···

On Mon, May 18, 2009 at 11:31 PM, C M wrote:

On Mon, May 18, 2009 at 5:19 PM, Mike Driscoll <mike@pythonlibrary.org> wrote:

On Sun, May 17, 2009 at 2:47 PM, Andrea Gavana <andrea.gavana@gmail.com> >>> wrote:

Hi David,

I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

and perphaps a name improvemnent - GUI Windows Application Builder.. or
something more ominous...

Uhm, you don't like the name :-D? I can't call it GUI Windows
Application Builder as GUI2Exe runs on all platforms supported by
wxPython, so it would be unfair to add "Windows" to its name ;-). Ok,
ok, I agree that the "exe" in the name is almost as misleading as
"Windows" in the name, but the whole project started as a GUI
interface to py2exe only and then evolved to support all the other
application builders, which work on other platforms too...

Andrea.

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

···

On Tue, May 19, 2009 at 1:53 AM, David Lyon <david.lyon@preisshare.net> wrote:

On Mon, 18 May 2009 16:27:53 +0100, Andrea Gavana <andrea.gavana@gmail.com> > wrote:

Hi Andrea,

Andrea Gavana wrote:

Hi David,
  

...

and perphaps a name improvemnent - GUI Windows Application Builder.. or
something more ominous...
    
Uhm, you don't like the name :-D? I can't call it GUI Windows
Application Builder as GUI2Exe runs on all platforms supported by
wxPython, so it would be unfair to add "Windows" to its name ;-). Ok,
ok, I agree that the "exe" in the name is almost as misleading as
"Windows" in the name, but the whole project started as a GUI
interface to py2exe only and then evolved to support all the other
application builders, which work on other platforms too...
  

what about:

pywx2pkg

In the GUI code viewer you have a button "discard", maybe "close" would be better/more standard label.

I have not yet played around with it on Ubuntu but plan to in the future. A while back I started to look around and could not find an InnoSetup type tool for Ubuntu which allows to create an installer, if there is no such thing then maybe there is an "opportunity" here.

Thanks again for all the great stuff you are doing and sharing with the community.
Werner

On Tue, 19 May 2009 11:04:05 +0200, "Werner F. Bruhin"

what about:

pywx2pkg

hmm....

what about "SnakeSkin".....

simply that snake-skin is a nice type of wallet... or handbag...

and usually expensive....

InnoSetup type tool for Ubuntu which allows to create an installer, if

Somebody suggest to use a template system to generate setup scripts..

that is such a *brilliant* idea....

If you used say, Cheetah templates... it would be excellent...

NSIS is no harder than innosetup... I can forward a sample script
if needed... just working on one now.

David

Uhm, you don't like the name :-D?

nah....

too confusing when learning... py2exe gui2exe ... :frowning:

I agree that the "exe" in the name is almost as misleading as
"Windows" in the name, but the whole project started as a GUI
interface to py2exe only and then evolved to support all the other
application builders, which work on other platforms too...

try "SnakeSkin"...

···

On Tue, 19 May 2009 08:59:37 +0100, Andrea Gavana <andrea.gavana@gmail.com>

Hi Andrea,

I have had an hour to think of some "big-picture" things
with GUI2Exe..... :slight_smile: :slight_smile: :slight_smile:

Simplify it....

I mean remove the settings for py2exe etc... etc.....

Instead....

Make it a "multi-platform" delivery system allowing you
to take "my python pet project" and deliver it to every*
platform....

say:

- Windows - .exe with installable...

- Debian/Ubuntu - a .deb

- Redhat a .rpm

- Mac ...

without the user ever having to know the details of how
to do that........

Add.... documentation... some standard documentation system
that you pick... convert it into the appropriate format for
the system (default to .html)

I am sure everybody on every platform would do their tiny
little bit to help you through. I believe that you have a
lot of goodwill amongst people out there.

Regards

David

Dear Andrea, David, and ALL

···

2009/5/19 David Lyon <david.lyon@preisshare.net>:

Make it a "multi-platform" delivery system allowing you
to take "my python pet project" and deliver it to every*
platform....

********** Excellent ************* idea! This is exactly what I dream of!

Best regards,

--
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: maurobio@gmail.com
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."

David Lyon wrote:

On Tue, 19 May 2009 11:04:05 +0200, "Werner F. Bruhin"
  

what about:

pywx2pkg
    
hmm....

what about "SnakeSkin".....

simply that snake-skin is a nice type of wallet... or handbag...

and usually expensive....

This reminds me of the Snakebite project (http://www.snakebite.org/) or shedskin (http://code.google.com/p/shedskin/). I think that would just make it more confusing...but that's just me.

···

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

Blog: http://blog.pythonlibrary.org

Che and Andrea,

···

On Mon, May 18, 2009 at 5:19 PM, Mike Driscoll <mike@pythonlibrary.org> wrote:
  

C M wrote:
    

On Sun, May 17, 2009 at 2:47 PM, Andrea Gavana <andrea.gavana@gmail.com> >>> wrote:

Hi All,

  I am about to release a new (0.4 alpha) version of GUI2Exe, in
which I changed few things from the UI perspective. I was wondering if
someone had new ideas/feature requests which he/she would like to see
included in the next release. I am open to all suggestions, as usual.

Hi Andrea. I haven't looked at the state of GUI2Exe in awhile, and I am
not sure what features and GUI layout and such it has at the moment.
Is there an already-written list of features somewhere that one can look
over? Right now I don't have time to get an SVN version and play with
it, but if there is a basic list of features, maybe just looking that over
would jog some ideas from the community?

Thanks again for this great tool,
Che
      

Here's what the main GUI2Exe page says (http://code.google.com/p/gui2exe/):
    
Thanks, Mike. I'll still just ask Andrea to confirm that this is all current to
the latest version (alpha 0.4?). Based on this list, two question/suggestions
which may or may not be coherent:
  
  * "Super" tooltips for the users to better understand the various options;
    
That would be very helpful, particularly in that in the earliest version I
had no sense of what the various flag options actually did. Like the
1, 2, or 3 settings for "optimized", "compressed" or "Bundle files".
Maybe even renaming these to something more intuitive, like "Most
compressed" or something such...with a super tooltip... Just more
explanatory here.

Along those lines, if we can get more documentation or something
for how to bundle up things like matplotlib or any outside libraries,
that'd be good. I recall having to ask Andrea directly, but maybe
that wisdom could come included with GUI2Exe? Although maybe
that is just what this next point is for:

I can write something up on this subject. I'll just create something simple that uses some stuff from Hammond's PyWin32 package and Bayer's SqlAlchemy. Or you can suggest something you'd like me to try building...

I need to update my GUI2Exe blog post anyway.

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

Blog: http://blog.pythonlibrary.org