Ensure correct site packages are visible to rustpython#4924
Ensure correct site packages are visible to rustpython#4924youknowone merged 4 commits intoRustPython:mainfrom
Conversation
|
|
|
Issue probably lies here: Notice purelib points to This function eventually gets called in |
I think I found the issue: when create venv from rustpython, it already have correct _INSTALL_SCHEMES (with rustpython in it), |
|
Thank you! Let me try some tricks to minimize |
|
Do you know how other distributions handle it? It seems we'd better just read |
Co-Authored-By: Ankit Kumar Pandey <itsankitkp@gmail.com>
4dd536c to
aad1d84
Compare
youknowone
left a comment
There was a problem hiding this comment.
Thank you so much! Let's fix it first and then think about the better or the correct way.
Makes sense, thanks |
This work should resolves #4911
Aim
Note: Instead of having both python and rustpython, I am including only one as venv/lib/rustpython3.11/site-packages, as venv/lib/python3.11/ severs no purpose and create confusion.