Skip to content

Commit

Permalink
Add debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed May 14, 2024
1 parent 40508e2 commit 71eb027
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/uv-interpreter/src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ impl PythonEnvironment {
} else {
let purelib = self.interpreter.purelib();
let platlib = self.interpreter.platlib();

println!("purelib: {:?}", purelib);
println!("platlib: {:?}", platlib);
println!("is_same_file(purelib, platlib): {:?}", is_same_file(purelib, platlib));

Either::Right(std::iter::once(purelib).chain(
if purelib == platlib || is_same_file(purelib, platlib).unwrap_or(false) {
None
Expand Down

0 comments on commit 71eb027

Please sign in to comment.