Skip to content

python.rs file is not generated locally #4166

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

Closed
lastmjs opened this issue Sep 16, 2022 · 7 comments
Closed

python.rs file is not generated locally #4166

lastmjs opened this issue Sep 16, 2022 · 7 comments
Assignees

Comments

@lastmjs
Copy link

lastmjs commented Sep 16, 2022

If I want to fork RustPython and access it locally in a Rust project, it doesn't currently work because RustPython/compiler/parser/python.rs is not generated. I haven't been able to figure out how to generate it, so I just copied the file from my .cargo folder.

@fanninpm
Copy link
Contributor

@youknowone does this have to do with LALRPOP not being installed?

@fanninpm
Copy link
Contributor

@lastmjs Try cargo clean followed by cargo build. Does that work?

@youknowone
Copy link
Member

@fanninpm that's not intended

@lastmjs
Copy link
Author

lastmjs commented Sep 20, 2022

I would expect it to just work after I've cargo installed RustPython

@lastmjs
Copy link
Author

lastmjs commented Sep 21, 2022

I think my issue might be a duplicate of this: #4117

@lastmjs
Copy link
Author

lastmjs commented Sep 21, 2022

I also have all features turned off, should I have rustpython-parser/lalrpop as a feature?

@lastmjs
Copy link
Author

lastmjs commented Dec 9, 2022

I believe this has been resolved with #4176

@lastmjs lastmjs closed this as completed Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants