MMKV icon indicating copy to clipboard operation
MMKV copied to clipboard

【建议】建议MMKV的python端打包发布

Open qingqingcaoyuanlin opened this issue 1 year ago • 4 comments

建议MMKV的python端打包发布,在windows平台编译太麻烦了,Linux还稍微容易些。

qingqingcaoyuanlin avatar May 15 '24 09:05 qingqingcaoyuanlin

I may give it a try but no guarantees.

lingol avatar May 15 '24 11:05 lingol

For the time being, you can check out the job done by open-source contributors: https://github.com/Tencent/MMKV/tree/dev/Win32/Python.

lingol avatar May 15 '24 12:05 lingol

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库。 晚些我把我的一些修改上传供参考,减少工作量。

qingqingcaoyuanlin avatar May 16 '24 03:05 qingqingcaoyuanlin

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/

qingqingcaoyuanlin avatar May 20 '24 03:05 qingqingcaoyuanlin

It's supported in v1.3.6.

lingol avatar Jul 05 '24 12:07 lingol