Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: miss header files #5

Open
2 tasks done
Freed-Wu opened this issue Aug 4, 2024 · 3 comments
Open
2 tasks done

bug: miss header files #5

Freed-Wu opened this issue Aug 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Freed-Wu
Copy link

Freed-Wu commented Aug 4, 2024

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

No response

Describe the bug

❯ 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.

Steps To Reproduce/Bad Parse Tree

pyproject-build

Expected Behavior/Parse Tree

/

Repro

No response

@Freed-Wu Freed-Wu added the bug Something isn't working label Aug 4, 2024
@Freed-Wu
Copy link
Author

Freed-Wu commented Aug 4, 2024

And wheel file shouldn't contain binding.c ...

@Freed-Wu
Copy link
Author

Freed-Wu commented Aug 4, 2024

Should add *.h to depends of setup().

@Freed-Wu
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant