Skip to content

Commit

Permalink
One more place to use scheme
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
  • Loading branch information
sloretz committed Apr 20, 2022
1 parent ac294df commit d288238
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion colcon_core/task/python/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ def _symlinks_in_build(self, args, setup_py_data):
return temp_symlinks

def _get_python_lib(self, args):
path = sysconfig.get_path('purelib', vars={'base': args.install_base})
path = sysconfig.get_path(
'purelib', vars={'base': args.install_base}, scheme='posix_prefix')
return os.path.relpath(path, start=args.install_base)

def _append_install_layout(self, args, cmd):
Expand Down

0 comments on commit d288238

Please sign in to comment.