mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-22 21:37:35 -08:00
24 lines
819 B
Diff
24 lines
819 B
Diff
diff --git a/setup.py b/setup.py
|
|
index 77ea76a..ab22ad3 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -12,7 +12,6 @@ setup(
|
|
Extension(
|
|
name="tree_sitter._binding",
|
|
sources=[
|
|
- "tree_sitter/core/lib/src/lib.c",
|
|
"tree_sitter/binding/language.c",
|
|
"tree_sitter/binding/lookahead_iterator.c",
|
|
"tree_sitter/binding/lookahead_names_iterator.c",
|
|
@@ -26,9 +25,8 @@ setup(
|
|
],
|
|
include_dirs=[
|
|
"tree_sitter/binding",
|
|
- "tree_sitter/core/lib/include",
|
|
- "tree_sitter/core/lib/src",
|
|
],
|
|
+ libraries=["tree-sitter"],
|
|
define_macros=[
|
|
("PY_SSIZE_T_CLEAN", None),
|
|
("TREE_SITTER_HIDE_SYMBOLS", None),
|