-
-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into solve_35032
- Loading branch information
Showing
9 changed files
with
68 additions
and
1,116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// /~https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/debian | ||
{ | ||
"name": "Conda", | ||
"image": "mcr.microsoft.com/vscode/devcontainers/base:0-bullseye", | ||
|
||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode", | ||
|
||
// Setup conda environment | ||
"onCreateCommand": ".devcontainer/onCreate-conda.sh", | ||
|
||
// Install additional features. | ||
"features": { | ||
// For config options, see /~https://github.com/devcontainers/features/tree/main/src/conda | ||
"ghcr.io/devcontainers/features/conda": { | ||
"version": "latest", | ||
"addCondaForge": "true" | ||
} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"guyskk.language-cython", | ||
"ms-python.isort", | ||
"ms-toolsai.jupyter", | ||
"ms-python.vscode-pylance", | ||
"ms-python.pylint", | ||
"ms-python.python", | ||
"lextudio.restructuredtext", | ||
"trond-snekvik.simple-rst" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Do not keep running on errors | ||
set -e | ||
|
||
# Create conda environment | ||
./bootstrap-conda | ||
conda install mamba -n base -c conda-forge -y | ||
mamba env create --file src/environment-dev.yml || mamba env update --file src/environment-dev.yml | ||
conda init bash | ||
|
||
# Build sage | ||
conda run -n sage-dev ./bootstrap | ||
conda run -n sage-dev ./configure --with-python=/opt/conda/envs/sage-dev/bin/python --prefix=/opt/conda/envs/sage-dev | ||
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./pkgs/sage-conf ./pkgs/sage-setup | ||
conda run -n sage-dev pip install --no-build-isolation -v -v -e ./src |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters