Skip to content

Commit 834752a

Browse files
author
Andrei Jiroh Eugenio Halili
committed
[gitpod] Update init script to fix errors due to PIP_USER
For context, see gitpod-io/gitpod#1997. Signed-off-by: Andrei Jiroh Eugenio Halili <[email protected]>
1 parent 2dcc33b commit 834752a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitpod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ gitConfig:
22
core.autocrlf: "true"
33

44
tasks:
5-
- init: pip3 install -r ./requirements.dev.txt
5+
# fix errors when installing packages inside virtualenv
6+
- 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
67

78
vscode:
8-
# TODO: Synchorize it with values from .vscode/extensions.json/#recommendations
99
extensions:
1010
- ms-python.python
1111
- stylelint.vscode-stylelint

0 commit comments

Comments
 (0)