mirror of
https://github.com/wassname/vllm.git
synced 2026-06-27 17:32:55 +08:00
[CI/Build] migrate static project metadata from setup.py to pyproject.toml (#8772)
This commit is contained in:
+35
-1
@@ -12,8 +12,42 @@ requires = [
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "vllm"
|
||||
authors = [{name = "vLLM Team"}]
|
||||
license = { "file"= "LICENSE" }
|
||||
readme = "README.md"
|
||||
description = "A high-throughput and memory-efficient inference and serving engine for LLMs"
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Information Technology",
|
||||
"Intended Audience :: Science/Research",
|
||||
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
||||
"Topic :: Scientific/Engineering :: Information Analysis",
|
||||
]
|
||||
requires-python = ">=3.9"
|
||||
dynamic = [ "version", "dependencies", "optional-dependencies"]
|
||||
|
||||
[project.urls]
|
||||
Homepage="https://github.com/vllm-project/vllm"
|
||||
Documentation="https://vllm.readthedocs.io/en/latest/"
|
||||
Slack="http://slack.vllm.ai/"
|
||||
|
||||
[project.scripts]
|
||||
vllm = "vllm.entrypoints.cli.main:main"
|
||||
|
||||
[tool.setuptools_scm]
|
||||
# version_file = "vllm/_version.py" # currently handled by `setup.py:get_version()`
|
||||
version_file = "vllm/_version.py"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["."]
|
||||
exclude = ["benchmarks", "csrc", "docs", "examples", "tests*"]
|
||||
namespaces = false
|
||||
|
||||
[tool.yapfignore]
|
||||
ignore_patterns = [
|
||||
|
||||
Reference in New Issue
Block a user