ZhaoQi99 / pyencrypt-pye

加密Python代码&动态导入(encrypt Python source code and import dynamically).
GNU General Public License v3.0
29 stars 3 forks source link

加密后生成的loader文件的路径不对 #8

Closed ZhaoQi99 closed 3 years ago

ZhaoQi99 commented 3 years ago
Encryption completed successfully.
Please copy encrypted/loader.cpython-39m-darwin.so into your encrypted directory.
And then remove `encrypted` directory.
Finally, add `import loader` at the top of your entry file.

加密后提示生成的loader文件在encrypted/loader.cpython-39m-darwin.so 但是实际上loader文件的路径是encrypted/loader.cpython-39-darwin.so,没有m了 Python版本

~ $ python -V
Python 3.9.6
ZhaoQi99 commented 3 years ago

https://github.com/ZhaoQi99/pyencrypt-pye/blob/a9e78db83e48d69a08f032d68eb5931837bc923f/pyencrypt/cli.py#L33-L40

ZhaoQi99 commented 3 years ago

image

https://docs.python.org/zh-cn/3/whatsnew/3.8.html#build-and-c-api-changes

ZhaoQi99 commented 3 years ago

https://stackoverflow.com/questions/54097033/what-does-the-m-in-a-python-abi-tag-mean