Merge pull request #2 from 3keepmovingforward3/master
was doing things backwards
This commit is contained in:
commit
a540b811c2
@ -1,12 +1,12 @@
|
|||||||
# Conda environment with environment.yml
|
# Conda environment with environment.yml
|
||||||
|
|
||||||
[](http://beta.mybinder.org/v2/gh/binder-examples/conda_environment/v1.0?filepath=index.ipynb)
|
[](https://mybinder.org/v2/gh/3keepmovingforward3/conda/master?urlpath=lab)
|
||||||
|
|
||||||
A Binder-compatible repo with an `environment.yml` file.
|
A Binder-compatible repo with an `environment.yml` file.
|
||||||
|
|
||||||
Access this Binder at the following URL:
|
Access this Binder at the following URL:
|
||||||
|
|
||||||
https://mybinder.org/v2/gh/3keepmovingforward3/conda/test
|
|
||||||
|
|
||||||
## Notes
|
## Notes
|
||||||
The `environment.yml` file should list all Python libraries on which your notebooks
|
The `environment.yml` file should list all Python libraries on which your notebooks
|
||||||
|
7
apt.txt
Normal file
7
apt.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
texlive-latex-base
|
||||||
|
texlive-latex-recommended
|
||||||
|
texlive-science
|
||||||
|
texlive-latex-extra
|
||||||
|
texlive-fonts-recommended
|
||||||
|
dvipng
|
||||||
|
ghostscript
|
@ -1,14 +1,20 @@
|
|||||||
name: example-environment
|
name: base-environment
|
||||||
channels:
|
channels:
|
||||||
- conda-forge
|
- conda-forge
|
||||||
dependencies:
|
dependencies:
|
||||||
- numpy
|
- numpy
|
||||||
- psutil
|
|
||||||
- toolz
|
|
||||||
- matplotlib
|
- matplotlib
|
||||||
- dill
|
|
||||||
- pandas
|
|
||||||
- partd
|
|
||||||
- bokeh
|
|
||||||
- dask
|
|
||||||
- scipy
|
- scipy
|
||||||
|
- pandas
|
||||||
|
- octave_kernel
|
||||||
|
- pyjanitor
|
||||||
|
- node
|
||||||
|
- boto
|
||||||
|
- django
|
||||||
|
- requests
|
||||||
|
- nodejs=9
|
||||||
|
- jupyterlab>=0.33
|
||||||
|
- pip:
|
||||||
|
- bash_kernel
|
||||||
|
- jupyterlab_latex
|
||||||
|
|
||||||
|
9
postBuild
Normal file
9
postBuild
Normal 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
|
Loading…
x
Reference in New Issue
Block a user