Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qingqingcaoyuanlin opened this issue May 15, 2024 · 4 comments
Open

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

qingqingcaoyuanlin opened this issue May 15, 2024 · 4 comments

Comments

@qingqingcaoyuanlin
Copy link

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

@lingol
Copy link
Collaborator

lingol commented May 15, 2024

I may give it a try but no guarantees.

@lingol
Copy link
Collaborator

lingol commented May 15, 2024

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

@qingqingcaoyuanlin
Copy link
Author

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
Copy link
Author

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants