mirror of
https://github.com/kvcache-ai/sglang.git
synced 2026-03-22 03:17:22 +00:00
16 lines
430 B
Python
16 lines
430 B
Python
"""
|
|
sglang-kt setup.py — provides version at build time.
|
|
|
|
Version is read from the SGLANG_KT_VERSION environment variable,
|
|
which is set by ktransformers' install.sh and CI workflows
|
|
(sourced from ktransformers/version.py).
|
|
|
|
When building standalone (without the env var), falls back to "0.0.0.dev0".
|
|
"""
|
|
import os
|
|
from setuptools import setup
|
|
|
|
version = os.environ.get("SGLANG_KT_VERSION", "0.0.0.dev0")
|
|
|
|
setup(version=version)
|