Skip to content

Commit

Permalink
Change syntax in pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Nov 28, 2024
1 parent 1de6f57 commit 7ea4d11
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,16 @@ Tracker = "https://github.com/Textualize/py-tree-sitter-languages/issues"
[build-system]
requires = [
"setuptools>=74.1",
"wheel",
"Cython",
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["tree_sitter_languages"]
package-data = {"tree_sitter_languages" = ["languages.so", "languages.dll"]}

[tool.setuptools.ext_modules]
tree_sitter_languages = {sources = ["tree_sitter_languages/core.pyx"]}
ext-modules = [
{name = "tree_sitter_languages", sources = ["tree_sitter_languages/core.pyx"]}
]

[tool.cython]
language_level = "3"

0 comments on commit 7ea4d11

Please sign in to comment.