pyproject.toml 1.41 KB
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
name = "sglang-router"
7
version = "0.2.1"
8
description = "High-performance Rust-based load balancer for SGLang with multiple routing algorithms and prefill-decode disaggregation support"
9
10
11
12
13
authors = [
    {name = "Byron Hsu", email = "byronhsu1230@gmail.com"},
    {name = "Chang Su", email = "mckvtl@gmail.com"},
    {name = "Keyang Ru", email = "rukeyang@gmail.com"}
]
14
15
requires-python = ">=3.8"
readme = "README.md"
16
license = { text = "Apache-2.0" }
17
18
classifiers = [
    "Programming Language :: Python :: Implementation :: CPython",
19
20
    "Programming Language :: Rust",
    "Programming Language :: Python :: 3",
21
22
23
24
25
26
27
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
28
29
]

30
31
32
33
34
35
36
37
dependencies = [
    "setproctitle",
    "aiohttp",
    "orjson",
    "uvicorn",
    "fastapi",
]

38
39
40
41
42
[project.optional-dependencies]
dev = [
    "requests>=2.25.0",
]

43

44
45
46
47
# https://github.com/PyO3/setuptools-rust?tab=readme-ov-file
[tool.setuptools.packages]
find = { where = ["py_src"] }

48
49
50
# workaround for https://github.com/pypa/twine/issues/1216
[tool.setuptools]
license-files = []