Devcontainer update #2277

Merged
PeterSurda merged 1 commits from devcontainers-update into v0.6 2025-02-06 07:35:19 +01:00
2 changed files with 37 additions and 27 deletions

View File

@ -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"],
@ -32,4 +28,14 @@
"**/LICENSE": true
}
}
}
},
"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"
}
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
pip3 install -r requirements.txt
pip3 install -r kivy-requirements.txt