On 10/09/2014 09:45 PM, Hartmut Goebel wrote:
Am 09.10.2014 12:08, schrieb Gelonida N:
One option would be to replace one file in the zlib archive, however I
don't knoQ whow to achieve this.

This would require a second executable which performs the patching. You
are welcome to implement this and submit a pull-request :-)

Hi Hartmut,

My question was more about which Python commands allow me to modify a zlib archive
- add a file
- remove a file
- replace a file


than about how to automate this patching and create an executable.

In my context the 'patcher' could be another program (also packed with py2exe of course)e, that is already preinstalled on the systems in question, but what I'm stuck is to know how to modify a .pyz file.

What documentation is the best starting point of how to manipulate this archives.


I'm also a little confused about the .pyz files.
http://legacy.python.org/dev/peps/pep-0441/
seems to indicate a standard zip file containing python code,
but the pyinstaller .pyz file seems to be a in a different file format.







--
Schönen Gruß
Hartmut Goebel
Dipl.-Informatiker (univ), CISSP, CSSLP
Information Security Management, Security Governance, Secure Software
Development

Goebel Consult, Landshut
http://www.goebel-consult.de

Blog:
http://www.goebel-consult.de/blog/eine-millonen-aufkleber-fordern-asyl-fur-snowden

Kolumne: http://www.cissp-gefluester.de/2010-08-scheingefechte-um-rim

Goebel Consult ist Mitglied bei http://www.7-it.de/

--
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]
<mailto:[email protected]>.
To post to this group, send email to
[email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.


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

Reply via email to