New feature:
Option --pack
support constant onefile
and onedir
, both of them work for PyInstaller 6.0+
In previous versions --pack
only accepts executable generated by PyInstaller < 6.0.
Since v8.5.4, it accepts string constant onefile
or onefolder
, support PyInstaller 6.0+ and previous versions too. User need not call PyInstaller, pyarmor will do everything. For example, obfuscate plain script main.py
and pack the output to one executable just by this one command:
pyarmor gen --pack onefile main.py