pyproject.toml 798 Bytes
Newer Older
1
[build-system]
2
3
requires = ["setuptools>=45", "wheel", "setuptools-rust>=1.5.2"]
build-backend = "setuptools.build_meta"
4
5

[project]
6
7
8
9
10
11
name = "sglang-router"
version = "0.0.2"
description = "SGLang router is a standalone module implemented in Rust to achieve data parallelism across SGLang instances."
authors = [{name = "Byron Hsu", email = "byronhsu1230@gmail.com"}]
requires-python = ">=3.8"
readme = "README.md"
12
13
classifiers = [
    "Programming Language :: Python :: Implementation :: CPython",
14
15
    "Programming Language :: Rust",
    "Programming Language :: Python :: 3",
16
17
]

18
19
20
21
22
23
24
25
# https://github.com/PyO3/setuptools-rust?tab=readme-ov-file
[tool.setuptools.packages]
find = { where = ["py_src"] }

[[tool.setuptools-rust.ext-modules]]
target = "sglang_router_rs"
path = "Cargo.toml"
binding = "PyO3"