prefix-dev / rip

Solve and install Python packages quickly with rip (pip in Rust)
https://prefix.dev
BSD 3-Clause "New" or "Revised" License
655 stars 23 forks source link

feat: create venv from rust #128

Closed nichmor closed 10 months ago

nichmor commented 10 months ago

Create python venv directly from rust.

Implementation based on built-in venv module.

I've changed a little system_python_executable implementation. which does not return original interpreter but a shim path when using pyenv. This does not work well when we later create pyenv.cfg and set home =

Closes: #83

tdejager commented 10 months ago

I'll want to test the branch a bit tomorrow and will look at te rest of the changes, but from what I am seeing it looks pretty good!

nichmor commented 10 months ago

I'll want to test the branch a bit tomorrow and will look at te rest of the changes, but from what I am seeing it looks pretty good!

Thank you very much! Let me know if there is anything I can help with

tdejager commented 10 months ago

Okay looks good, merging!