Skip to content

Commit

Permalink
[gitpod] Update init script to fix errors due to PIP_USER
Browse files Browse the repository at this point in the history
For context, see gitpod-io/gitpod#1997.

Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]>
  • Loading branch information
Andrei Jiroh Eugenio Halili authored and ajhalili2006 committed Dec 1, 2021
1 parent c725d2b commit 9797715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ gitConfig:
core.autocrlf: "true"

tasks:
- init: pip3 install -r ./requirements.dev.txt
# fix errors when installing packages inside virtualenv
- init: sed -i "s/PIP_USER=yes/PIP_USER=no/" ~/.bashrc; source ~/.bashrc; python3 -m venv venv; source venv/bin/activate; python3 -m pip3 install --upgrade pip; pip3 install --upgrade -r requirements.dev.txt

vscode:
# TODO: Synchorize it with values from .vscode/extensions.json/#recommendations
extensions:
- ms-python.python
- stylelint.vscode-stylelint
Expand Down

0 comments on commit 9797715

Please sign in to comment.