- Change the plugin search policy, do not support enviorment variable
PYARMOR_PLUGIN
, but search folderplugins
in the pyarmor package path. - Add a new path
plugins
in the package source, there are several common
plugins. So it's easy to check internet time by this wayBefore that both of these lines should be inserted intopyarmor obfuscate --plugin check_ntp_time foo.py
foo.py
# {PyArmor Plugins} # PyArmor Plugin: check_ntp_time()
- Fix pack bug:
pyi-makespec: error: unrecognized arguments: -y
if extra options are passed - Document command
pack
in details: https://pyarmor.readthedocs.io/en/latest/man.html#pack