Skip to content

Commit fb21313

Browse files
committed
Resolve sysconfig path
Signed-off-by: Cristian Le <git@lecris.dev>
1 parent 4ce6f37 commit fb21313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scikit_build_core/repair_wheel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def _get_buildenv_platlib() -> str:
3737
real_purelib_path = DIR.parent.parent
3838
if real_purelib_path.samefile(purelib_path):
3939
# Here is the normal state if we are in a real venv
40-
return platlib_path
40+
return str(Path(platlib_path).resolve())
4141
# Otherwise we need to trick it to giving us the real path
4242
data_path = sysconfig.get_path("data")
4343
platlib_relative_path = Path(platlib_path).relative_to(data_path)

0 commit comments

Comments
 (0)