http://nuitka.net
http://www.pyinstaller.org
推荐使用pyinstaller
安装加密模块
pip install PyCrypto
安装加壳工具
yum install upx
找到upx位置
#whereis upx
#upx: /usr/bin/upx /usr/share/man/man1/upx.1.gz
# pyinstaller -F –key !@#$%^&*gew –upx-dir /usr/bin/upx –clean test.py
编译测试,keys为pyc加密使用。
发表评论