pyproject.toml 1.22 KB
Newer Older
Lianmin Zheng's avatar
Lianmin Zheng committed
1
2
3
4
5
6
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "sglang"
7
version = "0.1.17"
胡译文's avatar
胡译文 committed
8
description = "A structured generation langauge for LLMs."
Lianmin Zheng's avatar
Lianmin Zheng committed
9
10
11
12
13
14
15
16
17
readme = "README.md"
requires-python = ">=3.8"
license = {file = "LICENSE"}
classifiers = [
    "Programming Language :: Python :: 3",
    "License :: OSI Approved :: Apache Software License",
]
dependencies = [
    "requests",
Jani Monoses's avatar
Jani Monoses committed
18
    "tqdm",
Lianmin Zheng's avatar
Lianmin Zheng committed
19
20
21
]

[project.optional-dependencies]
shiyi.c_98's avatar
shiyi.c_98 committed
22
srt = ["aiohttp", "fastapi", "psutil", "rpyc", "torch", "uvloop", "uvicorn",
Lianmin Zheng's avatar
Lianmin Zheng committed
23
       "zmq", "vllm==0.4.3", "interegular", "pydantic", "pillow", "packaging", "huggingface_hub", "hf_transfer", "outlines>=0.0.34"]
Jani Monoses's avatar
Jani Monoses committed
24
openai = ["openai>=1.0", "numpy", "tiktoken"]
25
anthropic = ["anthropic>=0.20.0", "numpy"]
胡译文's avatar
胡译文 committed
26
27
litellm = ["litellm>=1.0.0"]
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[litellm]"]
Lianmin Zheng's avatar
Lianmin Zheng committed
28

Lianmin Zheng's avatar
Lianmin Zheng committed
29
30
31
32
[project.urls]
"Homepage" = "https://github.com/sgl-project/sglang"
"Bug Tracker" = "https://github.com/sgl-project/sglang/issues"

Lianmin Zheng's avatar
Lianmin Zheng committed
33
34
35
36
[tool.setuptools.packages.find]
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]

[tool.wheel]
37
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]