macos: wpt: install pip & virtualenv for Python3

This commit is contained in:
wpt-pr-bot 2020-01-25 21:07:17 +00:00
parent 43768ff974
commit c48934a24f
2 changed files with 7 additions and 1 deletions

View file

@ -693,6 +693,12 @@ class MacOsGenericWorkerTask(UnixTaskMixin, GenericWorkerTask):
pip install --user virtualenv
""")
def with_python3(self):
return self.with_early_script("""
python3 -m ensurepip --user
python3 -m pip install --user virtualenv
""")
def with_rustup(self):
return self.with_early_script("""
export PATH="$HOME/.cargo/bin:$PATH"