Skip to content

Commit 0d0e22c

Browse files
committed
2 parents 0d79db8 + cb8471a commit 0d0e22c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.devcontainer/devcontainer.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,20 @@
44
"cpus": 4
55
},
66
"waitFor": "onCreateCommand",
7-
"updateContentCommand": "conda env create --file environment.yml && source activate shenfun && python setup.py build_ext -i && export PYTHONPATH=$PWD",
8-
"postCreateCommand": "",
7+
"updateContentCommand": ["/bin/bash", "-c", "conda env create --file environment.yml && source activate shenfun && python setup.py build_ext -i && export PYTHONPATH=$PWD"],
98
"customizations": {
109
"codespaces": {
1110
"openFiles": []
1211
},
1312
"vscode": {
1413
"extensions": [
1514
"ms-python.python"
16-
]
15+
],
16+
"settings": {
17+
"python.pythonPath": "/opt/conda/envs/shenfun",
18+
"python.defaultInterpreterPath": "/opt/conda/envs/shenfun"
19+
}
1720
}
18-
}
21+
},
22+
"postCreateCommand": "conda init"
1923
}

0 commit comments

Comments
 (0)