Open Freed-Wu opened 4 months ago
tree-sitter --version
No response
❯ tar vxaf tree-sitter-requirements-0.4.0.tar.gz tree-sitter-requirements-0.4.0/ tree-sitter-requirements-0.4.0/LICENSE tree-sitter-requirements-0.4.0/PKG-INFO tree-sitter-requirements-0.4.0/README.rst tree-sitter-requirements-0.4.0/bindings/ tree-sitter-requirements-0.4.0/bindings/python/ tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements/ tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements/__init__.py tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements/__init__.pyi tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements/binding.c tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements/py.typed tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements.egg-info/ tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements.egg-info/PKG-INFO tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements.egg-info/SOURCES.txt tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements.egg-info/dependency_links.txt tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements.egg-info/not-zip-safe tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements.egg-info/requires.txt tree-sitter-requirements-0.4.0/bindings/python/tree_sitter_requirements.egg-info/top_level.txt tree-sitter-requirements-0.4.0/pyproject.toml tree-sitter-requirements-0.4.0/setup.cfg tree-sitter-requirements-0.4.0/setup.py tree-sitter-requirements-0.4.0/src/ tree-sitter-requirements-0.4.0/src/parser.c
miss src/tree-sitter/*.h, which result in failure when building.
src/tree-sitter/*.h
pyproject-build
/
And wheel file shouldn't contain binding.c ...
Should add *.h to depends of setup().
*.h
setup()
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version
)No response
Describe the bug
miss
src/tree-sitter/*.h
, which result in failure when building.Steps To Reproduce/Bad Parse Tree
pyproject-build
Expected Behavior/Parse Tree
/
Repro
No response