From 0500fea9655310829abea642612b1d13bce4c9e6 Mon Sep 17 00:00:00 2001 From: ishandhanani <82981111+ishandhanani@users.noreply.github.com> Date: Wed, 31 Dec 2025 14:34:54 -0800 Subject: [PATCH] fix editable install (#16241) --- python/pyproject.toml | 1 + python/pyproject_cpu.toml | 1 + python/pyproject_other.toml | 1 + python/pyproject_xpu.toml | 1 + 4 files changed, 4 insertions(+) diff --git a/python/pyproject.toml b/python/pyproject.toml index 46a0d9fd1..b4d16069a 100755 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -171,6 +171,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment" diff --git a/python/pyproject_cpu.toml b/python/pyproject_cpu.toml index 5d0de642d..10df8a5f1 100644 --- a/python/pyproject_cpu.toml +++ b/python/pyproject_cpu.toml @@ -132,6 +132,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment" diff --git a/python/pyproject_other.toml b/python/pyproject_other.toml index 70780e714..13c7a03bb 100755 --- a/python/pyproject_other.toml +++ b/python/pyproject_other.toml @@ -171,6 +171,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment" diff --git a/python/pyproject_xpu.toml b/python/pyproject_xpu.toml index 850ce1ecd..fda33b0fa 100644 --- a/python/pyproject_xpu.toml +++ b/python/pyproject_xpu.toml @@ -136,6 +136,7 @@ exclude = [ [tool.setuptools_scm] root = ".." version_file = "sglang/_version.py" +git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"