PyPI 包发布流程#

更新代码中的版本#

更新 python/pyproject.tomlpython/sglang/__init__.py 中的包版本。

上传 PyPI 包#

pip install build twine
cd python
bash upload_pypi.sh

在 GitHub 中创建发布#

创建新发布:https://github.com/sgl-project/sglang/releases/new。