【建议】建议MMKV的python端打包发布
建议MMKV的python端打包发布,在windows平台编译太麻烦了,Linux还稍微容易些。
I may give it a try but no guarantees.
For the time being, you can check out the job done by open-source contributors: https://github.com/Tencent/MMKV/tree/dev/Win32/Python.
For the time being, you can check out the job done by open-source contributors: https://github.com/Tencent/MMKV/tree/dev/Win32/Python.
我自己编译成功了。在Ubuntu相对容易些,Windows平台花了较长时间,稀里糊涂就编译成功了,windows编译大概需要这些:VS2017、cmake,mmkv可能需要编译为dll库,libmmkv_python.cpp需增加windows平台下MMKVPath_t类型,setup.py要去除-j8,增加pthread.lib库。 晚些我把我的一些修改上传供参考,减少工作量。
For the time being, you can check out the job done by open-source contributors: https://github.com/Tencent/MMKV/tree/dev/Win32/Python.
我提交了在windows下编译的修改点,仅适用windows平台下,仅供参考。https://github.com/qingqingcaoyuanlin/MMKV/commits/master/
It's supported in v1.3.6.