2024-01-08 04:37:50 +00:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "sglang"
|
2024-01-16 15:49:03 -08:00
|
|
|
version = "0.1.4"
|
2024-01-08 04:37:50 +00:00
|
|
|
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",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
|
srt = ["fastapi", "psutil", "rpyc", "torch", "uvloop", "uvicorn", "zmq", "vllm>=0.2.5",
|
2024-01-10 04:35:44 +08:00
|
|
|
"interegular", "lark", "numba"]
|
2024-01-08 04:37:50 +00:00
|
|
|
openai = ["openai>=1.0"]
|
|
|
|
|
anthropic = ["anthropic"]
|
|
|
|
|
all = ["sglang[srt]", "sglang[openai]", "sglang[anthropic]"]
|
|
|
|
|
|
2024-01-15 01:15:53 -08:00
|
|
|
[project.urls]
|
|
|
|
|
"Homepage" = "https://github.com/sgl-project/sglang"
|
|
|
|
|
"Bug Tracker" = "https://github.com/sgl-project/sglang/issues"
|
|
|
|
|
|
2024-01-08 04:37:50 +00:00
|
|
|
[tool.setuptools.packages.find]
|
|
|
|
|
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]
|
|
|
|
|
|
|
|
|
|
[tool.wheel]
|
|
|
|
|
exclude = ["assets*", "benchmark*", "docs*", "dist*", "playground*", "scripts*", "tests*"]
|