On 10/10/2014 01:27 PM, Martin Zibricky wrote:
On Thursday 09 of October 2014 12:08:07 Gelonida N wrote:
Hi,
I wondered whether theEW is an easy way to patch code, that i
distributed with pyinstaller.
One dumb question. Could you please explain to me what is it "theEW"?
type: theEW -> there
One option would be to replace one file in the zlib archive, however I
don't knoQ whow to achieve this.
In the documentation there is mentioning of inspecting zlibArchives, but
no mentioning of how to replace/add a file in a ZlibArchive.
Is this possible?
There is no API for that and I don't know how it should be implemented.
The zlib archive is appended at the end of the exe file.
Same for zip files (can also be appended to any file / executable) for
this format there is an API.
But what I agree with is, that some fileformats would require a lot of
effort to allow changing an archive entry and that it's propably not
worth the effort to implement this for a few rare use cases.
If you'd like to have better granularity you could try patch even single
python modules but in that case you would have to recalculate memory offsets of
other python modules.
And it also depends if your app is onedir or onefile mode.
onedir.
--
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.