semvec/pypi-packages huggingface dataset:
xhsmcp 0.1.10
Add your description here
Requires Python: >=3.10

uv python pin 3.10

uv init --lib xnszmcp --python 3.10

在src中添加核心代码，和__main__.py和__init__.py
参照下方链接：
https://community.modelscope.cn/684b87bc7e10b149bf1f9f0a.html
https://blog.csdn.net/neweastsun/article/details/147448838

uv add build twine "mcp[cli]" modelscope numpy opencv-python pillow torch transformers --python 3.10

uv run -m build

uv run -m twine upload dist/***.whl (需要有pypi上传token)

我的经验，在pyproject.toml中加入index，速度可以飞快。然后一定要记得加上scripts