Skip to content

Commit b2f3ed5

Browse files
authored
Clean up conf.py
1 parent 722c4bf commit b2f3ed5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

docs/source/conf.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,12 @@
1212
cd ../../;
1313
curl -L https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba;
1414
export PATH="$PWD/bin:$PATH";
15-
export MAMBA_EXE="$PWD/bin/micromamba";
1615
export MAMBA_ROOT_PREFIX="/home/docs/checkouts/readthedocs.org/user_builds/xeus-cpp/conda/";
17-
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)";
18-
eval "$__mamba_setup";
19-
alias micromamba="$MAMBA_EXE";
16+
eval $(micromamba shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)";
2017
micromamba create -f environment-wasm-build.yml -y;
2118
micromamba activate xeus-cpp-wasm-build;
2219
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32;
23-
mkdir -p build;
20+
mkdir build;
2421
cd build;
2522
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/xeus-cpp-wasm-build;
2623
export PREFIX=$MAMBA_ROOT_PREFIX/xeus-cpp-wasm-host;

0 commit comments

Comments
 (0)