capstone/suite/auto-sync/pyproject.toml
Rot127 5af288083e
Update Auto-Sync to Python 3.13 and tree-sitter-py 24.0 (#2705)
* Bump tree-sitter version for Python3.13.

* Refactor for tree-sitter-py 24.0.

Remove usage of .text property of some nodes.
Convert the result of query.captures() back to the 22.3 version.
Fix the setup of the Parser.

* Formatting

* Attempt to use new query.match() API

* Add tree and ts language to default patch arguments.

* Fix StreamOperation patch with new ts 24.0 API.

* Remove invalid test

* Update sorting code which still segfaults occasionally.

* Remove statement which had no effect but py-tree-sitter#350
2025-06-26 11:17:34 +00:00

27 lines
656 B
TOML

# Copyright © 2022 Rot127 <unisono@quyllur.org>
# Copyright © 2024 2022 Rot127 <unisono@quyllur.org>
# SPDX-License-Identifier: BSD-3
[project]
name = "autosync"
version = "0.1.0"
dependencies = [
"termcolor >= 2.3.0",
"tree_sitter == 0.24.0",
"tree-sitter-cpp == 0.23.4",
"black >= 24.3.0",
"usort >= 1.0.8",
"setuptools >= 69.2.0",
"ninja >= 1.11.1.1",
"reuse >= 3.0.1",
"clang-format >= 18.1.1",
"lit >= 18.1.8",
]
requires-python = ">= 3.11"
[tool.setuptools]
packages = ["autosync", "autosync.cpptranslator", "autosync.cpptranslator.patches"]
package-dir = {"" = "src"}
[project.scripts]
ASUpdater = "autosync.ASUpdater:main"