README.md
666 Bytes
保护源码:py2so.py
-
help text
❯ python py2so.py -h usage: py2so.py [-h] -i INPUT [-o OUTPUT] [-e EXCLUDE] compile the .py to .so(Linux/Mac) or .pdy(Win) optional arguments: -h, --help show this help message and exit -i INPUT, --input INPUT the directory(file) path of your project -o OUTPUT, --output OUTPUT the directory path of compiled file -e EXCLUDE, --exclude EXCLUDE exclude file. eg: ignore/ignore.py,main.py,ignore
-
example
python py2so.py -i test -e test,main.py