pyproject.toml 1.17 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.15"
Lianmin Zheng's avatar
Lianmin Zheng committed
8
9
10
11
12
13
14
15
16
17
description = "A structured generation langauge for LLMs." 
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",
Yuanhan Zhang's avatar
Yuanhan Zhang committed
23
       "zmq", "vllm>=0.4.2", "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"]
Lianmin Zheng's avatar
Lianmin Zheng committed
26
27
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]"]

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

[tool.wheel]
Yuanhan Zhang's avatar
Yuanhan Zhang committed
36
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]