Merge pull request #2 from 3keepmovingforward3/master

was doing things backwards
This commit is contained in:
Benjamin Blouin 2019-03-29 23:14:38 -04:00 committed by GitHub
commit a540b811c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 10 deletions

View File

@ -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

7
apt.txt Normal file
View File

@ -0,0 +1,7 @@
texlive-latex-base
texlive-latex-recommended
texlive-science
texlive-latex-extra
texlive-fonts-recommended
dvipng
ghostscript

View File

@ -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

9
postBuild Normal file
View File

@ -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