Skip to content

follow pep 508 standard for deps #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions binding.gyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion bindings/python/tree_sitter_powershell/__init__.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 16 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "tree-sitter-powershell",
"version": "0.24.4",
"version": "1.2.0",
"description": "",
"main": "bindings/node",
"types": "bindings/node",
"scripts": {
"generate": "tree-sitter generate",
"build-node": "tree-sitter generate && node-gyp build",
"build-node": "tree-sitter generate --no-bindings",
"test": "tree-sitter test",
"parse": "tree-sitter parse",
"parse-debug": "tree-sitter parse -d",
Expand All @@ -31,8 +31,21 @@
"devDependencies": {
"node-gyp": "^9.4.0",
"prebuildify": "^6.0.0",
"tree-sitter-cli": "0.24.4"
"tree-sitter-cli": "^0.22.6"
},
"tree-sitter": [
{
"scope": "source.ps1",
"file-types": [
"ps1",
"psm1"
],
"injection-regex": "^(ps1|psm1)$",
"highlights": [
"queries/highlights.scm"
]
}
],
"files": [
"grammar.js",
"binding.gyp",
Expand Down
30 changes: 14 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,26 @@
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[project]
[tool.poetry]
name = "tree-sitter-powershell"
description = "Powershell grammar for tree-sitter"
version = "0.0.1"
description = "PowerShell grammar for tree-sitter"
authors = ["Your Name <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/tree-sitter/tree-sitter-powershell"
keywords = ["incremental", "parsing", "tree-sitter", "powershell"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Compilers",
"Topic :: Text Processing :: Linguistic",
"Typing :: Typed"
include = [
"src/*",
"bindings/python/tree_sitter_powershell/binding.c"
]
requires-python = ">=3.8"
license.text = "MIT"
readme = "README.md"

[project.urls]
Homepage = "https://github.com/tree-sitter/tree-sitter-powershell"

[project.optional-dependencies]
core = ["tree-sitter=0.24"]
[tool.poetry.dependencies]
python = ">=3.11"
tree-sitter = { version = "^0.23", optional = true }


[tool.cibuildwheel]
build = "cp38-*"
build = "cp39-*"
build-frontend = "build"
16 changes: 9 additions & 7 deletions setup.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.