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

Vendor in ply as needed #61

Merged
merged 2 commits into from Jan 3, 2020
Merged

Vendor in ply as needed #61

merged 2 commits into from Jan 3, 2020

Conversation

drawks
Copy link
Contributor

@drawks drawks commented Jan 2, 2020

As referenced in issue #60 this handles vendoring in the current version of ply.yacc and ply.lex along with updating the relevant build and test machinery to allow for testing and packaging.

  • vendored in some ply subcomponents
    • ply.lex
    • ply.yacc
  • updated rest of project to reflect ply vendoring
  • updated pyproject to configure black
    • retain defaults
    • skip linting on vendored ply module

fixes #56
fixes #49
fixes #60
fixes #58

* vendored in some ply subcomponents
  - ply.lex
  - ply.yacc
* updated rest of project to reflect ply vendoring
* updated pyproject to configure black
  - retain defaults
  - skip linting on vendored ply module
@virtuald
Copy link
Owner

virtuald commented Jan 3, 2020

This seems fine to me, thanks for the PR. setup.py compiles a parsetab via ply (see #56), it should be updated to use the internal version of ply now?

@drawks
Copy link
Contributor Author

drawks commented Jan 3, 2020

Yah, that looks trivial now that it won't have be done conditionally. I'll cook a quick commit.

@drawks
Copy link
Contributor Author

drawks commented Jan 3, 2020

This should now handle the parsetab generation by reverting #56 now that ply being importable isn't optional.

@virtuald virtuald merged commit 44a2999 into virtuald:master Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants