2024-07-03 23:19:33 -07:00
|
|
|
# PyPI Package Release Process
|
|
|
|
|
|
|
|
|
|
## Update the version in code
|
|
|
|
|
Update the package version in `python/pyproject.toml` and `python/sglang/__init__.py`.
|
|
|
|
|
|
|
|
|
|
## Upload the PyPI package
|
|
|
|
|
|
2024-05-12 15:05:40 -07:00
|
|
|
```
|
|
|
|
|
pip install build twine
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
cd python
|
|
|
|
|
bash upload_pypi.sh
|
2024-07-03 23:19:33 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Make a release in GitHub
|
|
|
|
|
Make a new release https://github.com/sgl-project/sglang/releases/new.
|