liftoff / pyminifier

Pyminifier is a Python code minifier, obfuscator, and compressor.
GNU General Public License v3.0
1.45k stars 223 forks source link

--pyz doesn't obfuscate #97

Open jlstanley-git opened 6 years ago

jlstanley-git commented 6 years ago

I have a Python program that requires 4 other local .py files. To simplify distribution and to obfuscate the source, I used pyminifier 2.1 and used both the -O and --pyz=outfile.pyz options. I expected that pyminifier would obfuscate all 5 files and package them up into one compact pyz file. I used the command: pyminifier -O --replacement-length=10 --pyz=myprog.pyz myprog.py

Now, the resulting .pyz file works beautifully. But when I used 7zip to expand the contents, I discovered that NONE of the 5 files had been obfuscated...!

This seems to be a fairly serious bug. Or am I "doing it wrong"?