mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Replace virtualenv with Python's built-in venv (#30377)
* Replace virtualenv with Python's built-in venv. * Apply Delan's suggestions and make a couple small fixes - Fix a tidy warning about directories that don't exist - Use shutil instead of the redundant get_exec_path - Miscellaneous cleanups * Fix typo in environment variable * fix bug where pip still tries to the wrong site-packages --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
914fe64fc7
commit
117d59d393
15 changed files with 52 additions and 71 deletions
|
@ -113,13 +113,3 @@ If you want to test the data submission code in `submit_to_perfherder.py` withou
|
|||
* `vagrant ssh`
|
||||
* `./manage.py create_credentials <username> <email> "description"`, the email has to match your logged in user. Remember to log-in through the Web UI once before you run this.
|
||||
* Setup your Treeherder client ID and secret as environment variables `TREEHERDER_CLIENT_ID` and `TREEHERDER_CLIENT_SECRET`
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
If you saw this error message:
|
||||
|
||||
```
|
||||
venv/bin/activate: line 8: _OLD_VIRTUAL_PATH: unbound variable
|
||||
```
|
||||
|
||||
That means your `virtualenv` is too old, try run `pip install -U virtualenv` to upgrade (If you installed ubuntu's `python-virtualenv` package, uninstall it first then install it through `pip`)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue