Hi Hartmut,
Sorry the blog post was a bit confusing - to clarify, it has nothing to
do with GnuMed. The purpose of the post was to enable me to make
installers for SOFA Statistics using Pyinstaller. And the good news is
that these installers are working. I have just tested them on clean XP
machines, XP machines with Python etc already installed, and clean Vista
machines. And the installer has shrunk from 43MB to just over 22MB.
The purpose of launch.py was to enable me to create an executable which
contained Python and all the required libraries. The SOFA Statistics
code itself remains separate in the form of standard Python scripts. For
me, having the code visible and modifiable by users is a feature.
The import from __future__ may or may not have been needed. As described
in the blog, I added every import from the main SOFA modules and removed
those that caused problems and I could do without. The whole process was
trial and error and resulted in a successful installation package. It
may well be that I can remove all those unnecessary bits but it is not a
pressing concern at the moment.
Anyway, thanks for pushing ahead with Pyinstaller - I have just seen
your plans on this list and look forwards to future developments.
All the best, Grant
On 11/12/11 23:08, Hartmut Goebel wrote:
Am 09.12.2011 23:58, schrieb Grant Paton-Simpson:
Here is the link: http://www.sofastatistics.com/blog/?p=697
To be honest, I don't understand this blog post at all.
What is this `launch.py` for?
For launching GNUmed? But why are you importing three databases then?
And why are there fragments from a .spec-file?
Or is it used as an .spec-file? But then: what are these __future__
imports for? And what are all these import there at all? And what is all
the stuff for *behind* the Collect()
What are these __future__ imports for at all (beside the absolute_import)?
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.