pyproject.toml 1.2 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"
Ying Sheng's avatar
Ying Sheng committed
7
version = "0.1.21"
胡译文'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",
19
    "numpy",
Lianmin Zheng's avatar
Lianmin Zheng committed
20
21
22
]

[project.optional-dependencies]
Lianmin Zheng's avatar
Lianmin Zheng committed
23
srt = ["aiohttp", "fastapi", "hf_transfer", "huggingface_hub", "interegular", "packaging", "pillow",
Mingyi's avatar
Mingyi committed
24
       "psutil", "pydantic", "torch", "uvicorn", "uvloop", "zmq", "vllm==0.5.1", "outlines>=0.0.44"]
25
26
openai = ["openai>=1.0", "tiktoken"]
anthropic = ["anthropic>=0.20.0"]
胡译文's avatar
胡译文 committed
27
28
litellm = ["litellm>=1.0.0"]
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]", "sglang[litellm]"]
Lianmin Zheng's avatar
Lianmin Zheng committed
29

Lianmin Zheng's avatar
Lianmin Zheng committed
30
31
32
33
[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
34
35
36
37
[tool.setuptools.packages.find]
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]

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