On 10/10/2014 04:09 PM, Hartmut Goebel wrote:
Am 10.10.2014 15:58, schrieb Gelonida N:
Have a project with 2 executables both sharing the same pkg.file.
- one executable with console=True
- another for exactly the same code with console=False
Yes, but this would require some more work (at least on non-Unix
file-systems), because the file of the .pkg is derived from the .exe.
And this derivation is hard-coded in the boot-loader. Nevertheless it
should not be to hard implementing this.
Ahh too bad. Hmm, as you said under Linux this is trivial, as a softlink
could be added to the directory.
So if I understand well:
For Windows this would require a custom boot-loader
Other use case could be an alternative implementation of merge
by collecting all modules into a single .pyz/.pkg file, that will be
used by all the executables.
Yes, absolutely. This would be a more elegant solution than the current
MERGE(). The only problem is, that the scripts are part of the .pkg,
too. But MERGE() has the same problem, so the solution should not be
that hard to implement.
Well for my given project no issue: There would be no naming clash as
the scripts, that I'd like to merge do share the same pythonpath, so no
name clashes for .pyc files would occur.
But if I inderstand well I'd fall into the same issue than with thre
previous use case. the .pkg file would have the wrong name, no?
Other use case (see thread "patching a pyinstaller release")
- having an external patch script reading, modifying, rewriting a
pyz/pkg file for a project.
If you would implement such a tool, I vote for including it into the
PyInstaller distribution.
yeah could be useful,
With our py2exe releases (mostly released as flat file, some old ones as
zip file) we created an NSIS installer applying the patches on the
target system, but this was (apart from some more sanity checks) a plain
copy / replace procedure / or f(or update of a zip file)
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.