Allow editable install without .git with add fallback version in pyproject.toml (#16435)
This commit is contained in:
@@ -172,6 +172,8 @@ exclude = [
|
|||||||
root = ".."
|
root = ".."
|
||||||
version_file = "sglang/_version.py"
|
version_file = "sglang/_version.py"
|
||||||
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
|
||||||
|
# Allow editable installs even when .git metadata is not available.
|
||||||
|
fallback_version = "0.0.0.dev0"
|
||||||
|
|
||||||
[tool.codespell]
|
[tool.codespell]
|
||||||
ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"
|
ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"
|
||||||
|
|||||||
Reference in New Issue
Block a user