Skip to content

Commit 9c2b424

Browse files
committed
Remove --root option from pip install calls
It means something different to pip
1 parent 43f9e91 commit 9c2b424

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

pythonforandroid/recipe.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,6 @@ def install_python_package(self, arch, name=None, env=None, is_dir=True):
10221022
with current_directory(self.get_build_dir(arch.arch)):
10231023
shprint(hostpython, '-m', 'pip', 'install', '.',
10241024
'--compile',
1025-
f'--root={self.ctx.get_python_install_dir(arch.arch)}',
10261025
_env=hpenv, *self.setup_extra_args
10271026
)
10281027

@@ -1044,7 +1043,6 @@ def install_hostpython_package(self, arch):
10441043
shprint(real_hostpython, '-m', 'pip', 'install', '.',
10451044
'--compile',
10461045
'--install-lib=Lib/site-packages',
1047-
'--root={}'.format(self._host_recipe.site_root),
10481046
_env=env, *self.setup_extra_args)
10491047

10501048
@property

0 commit comments

Comments
 (0)