Files
sglang/sgl-router/pyproject.toml

36 lines
1014 B
TOML
Raw Normal View History

[build-system]
2024-11-11 12:19:32 -08:00
requires = ["setuptools>=45", "wheel", "setuptools-rust>=1.5.2"]
build-backend = "setuptools.build_meta"
[project]
2024-11-11 12:19:32 -08:00
name = "sglang-router"
version = "0.1.9"
description = "High-performance Rust-based load balancer for SGLang with multiple routing algorithms and prefill-decode disaggregation support"
2024-11-11 12:19:32 -08:00
authors = [{name = "Byron Hsu", email = "byronhsu1230@gmail.com"}]
requires-python = ">=3.8"
readme = "README.md"
license = { text = "Apache-2.0" }
classifiers = [
"Programming Language :: Python :: Implementation :: CPython",
2024-11-11 12:19:32 -08:00
"Programming Language :: Rust",
"Programming Language :: Python :: 3",
]
[project.optional-dependencies]
dev = [
"requests>=2.25.0",
]
2024-11-11 12:19:32 -08:00
# https://github.com/PyO3/setuptools-rust?tab=readme-ov-file
[tool.setuptools.packages]
find = { where = ["py_src"] }
2025-01-23 21:01:01 -08:00
# workaround for https://github.com/pypa/twine/issues/1216
[tool.setuptools]
license-files = []
2024-11-11 12:19:32 -08:00
[[tool.setuptools-rust.ext-modules]]
target = "sglang_router_rs"
path = "Cargo.toml"
binding = "PyO3"