mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-03 04:37:06 -08:00
19 lines
674 B
Diff
19 lines
674 B
Diff
diff --git a/setup.py b/setup.py
|
|
index 2528827..bb2a817 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -33,11 +33,11 @@ setup(
|
|
ext_modules=[
|
|
Extension(
|
|
"tree_sitter.binding",
|
|
- ["tree_sitter/core/lib/src/lib.c", "tree_sitter/binding.c"],
|
|
- include_dirs=["tree_sitter/core/lib/include", "tree_sitter/core/lib/src"],
|
|
+ ["tree_sitter/binding.c"],
|
|
extra_compile_args=(
|
|
["-std=c99", "-Wno-unused-variable"] if system() != "Windows" else None
|
|
),
|
|
+ libraries=["tree-sitter"],
|
|
)
|
|
],
|
|
project_urls={"Source": "https://github.com/tree-sitter/py-tree-sitter"},
|