diff --git a/README.md b/README.md index b2cf02f..a71bdfd 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ # Conda environment with environment.yml -[![Binder](http://mybinder.org/badge_logo.svg)](http://beta.mybinder.org/v2/gh/binder-examples/conda_environment/v1.0?filepath=index.ipynb) +[![Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/3keepmovingforward3/conda/master?urlpath=lab) A Binder-compatible repo with an `environment.yml` file. Access this Binder at the following URL: -https://mybinder.org/v2/gh/3keepmovingforward3/conda/test + ## Notes The `environment.yml` file should list all Python libraries on which your notebooks diff --git a/apt.txt b/apt.txt new file mode 100644 index 0000000..64aabeb --- /dev/null +++ b/apt.txt @@ -0,0 +1,7 @@ +texlive-latex-base +texlive-latex-recommended +texlive-science +texlive-latex-extra +texlive-fonts-recommended +dvipng +ghostscript diff --git a/environment.yml b/environment.yml index c9545ce..733b7a4 100644 --- a/environment.yml +++ b/environment.yml @@ -1,14 +1,20 @@ -name: example-environment +name: base-environment channels: - conda-forge dependencies: - numpy - - psutil - - toolz - matplotlib - - dill - - pandas - - partd - - bokeh - - dask - scipy + - pandas + - octave_kernel + - pyjanitor + - node + - boto + - django + - requests + - nodejs=9 + - jupyterlab>=0.33 + - pip: + - bash_kernel + - jupyterlab_latex + diff --git a/postBuild b/postBuild new file mode 100644 index 0000000..00477e1 --- /dev/null +++ b/postBuild @@ -0,0 +1,9 @@ +#!/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 + +jupyter labextension install @jupyterlab/latex +jupyter lab build