Devcontainer update #2277
@ -1,7 +1,9 @@
|
||||
{
|
||||
"name": "Codespaces Python3",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"cschleiden.vscode-github-actions",
|
||||
"GitHub.vscode-github-actions",
|
||||
"eamodio.gitlens",
|
||||
"github.vscode-pull-request-github",
|
||||
"ms-azuretools.vscode-docker",
|
||||
@ -14,12 +16,6 @@
|
||||
"vscode-icons-team.vscode-icons",
|
||||
"visualstudioexptteam.vscodeintellicode"
|
||||
],
|
||||
"dockerFile": "Dockerfile",
|
||||
"postCreateCommand": "pip3 install -r requirements.txt",
|
||||
"updateContentCommand": "python2.7 setup.py install --user",
|
||||
"remoteEnv": {
|
||||
"PATH": "${containerEnv:PATH}:/home/user/.local/bin"
|
||||
},
|
||||
"settings": {
|
||||
"flake8.args": ["--config=setup.cfg"],
|
||||
"pylint.args": ["--rcfile=setup.cfg"],
|
||||
@ -33,3 +29,13 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"remoteUser": "user",
|
||||
"containerUser": "user",
|
||||
"dockerFile": "Dockerfile",
|
||||
"postCreateCommand": ".devcontainer/postCreateCommand.sh",
|
||||
"updateContentCommand": "python2.7 setup.py install --user",
|
||||
"remoteEnv": {
|
||||
"PATH": "${containerEnv:PATH}:/home/user/.local/bin"
|
||||
}
|
||||
}
|
||||
|
4
.devcontainer/postCreateCommand.sh
Executable file
4
.devcontainer/postCreateCommand.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
pip3 install -r requirements.txt
|
||||
pip3 install -r kivy-requirements.txt
|
Reference in New Issue
Block a user