Add install with pip (#3)

This commit is contained in:
Lianmin Zheng
2024-01-09 12:43:40 -08:00
committed by GitHub
parent 331848de9d
commit 30720e732c
4 changed files with 10 additions and 2 deletions

View File

@@ -1,2 +1,4 @@
__version__ == "0.1.0"
from sglang.api import *
from sglang.global_config import global_config

3
python/upload_pypi.sh Normal file
View File

@@ -0,0 +1,3 @@
rm -rf dist
python3 -m build
python3 -m twine upload dist/*