Include version info into the router package (#2456)
Signed-off-by: Ata Fatahi <immrata@gmail.com> Co-authored-by: Byron Hsu <byronhsu1230@gmail.com>
This commit is contained in:
@@ -3,3 +3,9 @@ from sglang_router_rs import PolicyType
|
||||
|
||||
# no wrapper on policy type => direct export
|
||||
from .router import Router
|
||||
|
||||
__all__ = ["Router", "PolicyType"]
|
||||
|
||||
from sglang_router.version import __version__
|
||||
|
||||
__all__ += ["__version__"]
|
||||
|
||||
1
rust/py_src/sglang_router/version.py
Normal file
1
rust/py_src/sglang_router/version.py
Normal file
@@ -0,0 +1 @@
|
||||
__version__ = "0.1.0"
|
||||
Reference in New Issue
Block a user