mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-30 03:27:31 +00:00
Create lib64 symlink for 64-bit, non-macOS, POSIX environments (#3584)
## Summary Closes https://github.com/astral-sh/uv/issues/3578#issuecomment-2110675382. ## Test Plan Verified that in the OpenSUSE test, we create both, and they're symlinks: ```text INFO: Creating virtual environment with `venv`... INFO: Installing into `venv` virtual environment... DEBUG Found a virtualenv named .venv at: /tmp/tmp4nape29h/.venv DEBUG Cached interpreter info for Python 3.10.14, skipping probing: .venv/bin/python DEBUG Using Python 3.10.14 environment at .venv/bin/python DEBUG Trying to lock if free: .venv/.lock purelib: "/tmp/tmp4nape29h/.venv/lib/python3.10/site-packages" platlib: "/tmp/tmp4nape29h/.venv/lib64/python3.10/site-packages" is_same_file(purelib, platlib): Ok(true) ```
This commit is contained in:
parent
e64c337cc5
commit
30a7475029
5 changed files with 57 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ pub use crate::environment::PythonEnvironment;
|
|||
pub use crate::find_python::{find_best_python, find_default_python, find_requested_python};
|
||||
pub use crate::interpreter::Interpreter;
|
||||
use crate::interpreter::InterpreterInfoError;
|
||||
pub use crate::pointer_size::PointerSize;
|
||||
pub use crate::python_version::PythonVersion;
|
||||
pub use crate::target::Target;
|
||||
pub use crate::virtualenv::{PyVenvConfiguration, VirtualEnvironment};
|
||||
|
|
@ -30,6 +31,7 @@ mod implementation;
|
|||
mod interpreter;
|
||||
pub mod managed;
|
||||
pub mod platform;
|
||||
mod pointer_size;
|
||||
mod py_launcher;
|
||||
mod python_version;
|
||||
mod target;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue