mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
macos: wpt: install pip & virtualenv for Python3
This commit is contained in:
parent
43768ff974
commit
c48934a24f
2 changed files with 7 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue