build(bindings): metadata improvements

This commit is contained in:
ObserverOfTime 2024-02-27 19:56:47 +02:00 committed by Amaan Qureshi
parent f7c13406c9
commit 46520eda58
4 changed files with 12 additions and 8 deletions

View file

@ -3,8 +3,8 @@ name = "tree-sitter-PARSER_NAME"
description = "PARSER_NAME grammar for tree-sitter"
version = "0.0.1"
license = "MIT"
readme = "bindings/rust/README.md"
keywords = ["incremental", "parsing", "PARSER_NAME"]
readme = "README.md"
keywords = ["incremental", "parsing", "tree-sitter", "PARSER_NAME"]
categories = ["parsing", "text-editors"]
repository = "https://github.com/tree-sitter/tree-sitter-PARSER_NAME"
edition = "2021"

View file

@ -14,8 +14,9 @@
"src/**"
],
"keywords": [
"parsing",
"incremental",
"parsing",
"tree-sitter",
"LOWER_PARSER_NAME"
],
"dependencies": {
@ -33,7 +34,7 @@
"tree-sitter": [
{
"scope": "source.LOWER_PARSER_NAME",
"injection-regex": "LOWER_PARSER_NAME"
"injection-regex": "^LOWER_PARSER_NAME$"
}
]
}

View file

@ -6,18 +6,21 @@ build-backend = "setuptools.build_meta"
name = "tree-sitter-PARSER_NAME"
description = "CAMEL_PARSER_NAME grammar for tree-sitter"
version = "0.0.1"
keywords = ["parsing", "incremental", "PARSER_NAME"]
keywords = ["incremental", "parsing", "tree-sitter", "PARSER_NAME"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Compilers",
"Topic :: Text Processing :: Linguistic",
"Typing :: Typed"
]
requires-python = ">=3.8"
license.file = "LICENSE"
license.text = "MIT"
readme = "README.md"
[project.urls]
Homepage = "https://github.com/tree-sitter/tree-sitter-PARSER_NAME"
[project.optional-dependencies]
core = ["tree-sitter~=0.21"]

View file

@ -53,5 +53,5 @@ setup(
"build": Build,
"bdist_wheel": BdistWheel
},
zip_safe=False,
zip_safe=False
)