test-conda/postBuild
2019-04-08 17:10:37 -04:00

14 lines
440 B
Bash

#!/bin/bash
# run matplotlib once to generate the font cache
python -c "import matplotlib as mpl; mpl.use('Agg'); import pylab as plt; fig, ax = plt.subplots(); fig.savefig('test.png')"
test -e test.png && rm test.png
go get github.com/yunabe/lgo/cmd/lgo && go get -d github.com/yunabe/lgo/cmd/lgo-internal
lgo install
jupyter labextension install @jupyterlab/latex
jupyter labextension install @yunabe/lgo_extension
jupyter lab build