From 1bf1d37934339603ac2952459f9a404375f4db6e Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Wed, 27 Mar 2019 06:36:51 -0400 Subject: [PATCH 01/32] add scipy --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index ff91ebb..c9545ce 100644 --- a/environment.yml +++ b/environment.yml @@ -11,3 +11,4 @@ dependencies: - partd - bokeh - dask + - scipy From 53cf1e86a2f7d654cc88875e64192d27b34a3be7 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Wed, 27 Mar 2019 12:39:34 -0400 Subject: [PATCH 02/32] test --- environment.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index c9545ce..cfd929a 100644 --- a/environment.yml +++ b/environment.yml @@ -1,4 +1,4 @@ -name: example-environment +name: base-environment channels: - conda-forge dependencies: @@ -12,3 +12,23 @@ dependencies: - bokeh - dask - scipy + - zstd + - zlib + - zict + - zeromq + - yaml + - xz + - xlwt + - xlwings + - wheel + - tornado + - sqlite + - sympy + - sip + - tk + - isort + - ipytkernel + - ipython + - html5lib + - jupyter + - libssh2 From f05dc6361eb821b7e7187f030df346714b6054fe Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:21:27 -0400 Subject: [PATCH 03/32] button link fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2cf02f..3ce742d 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/test) 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 From f6e59dd8508e55a1f4041c82fdf7ceab9d47f4f9 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:22:22 -0400 Subject: [PATCH 04/32] add octave_kernel --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index cfd929a..a2b45cf 100644 --- a/environment.yml +++ b/environment.yml @@ -32,3 +32,4 @@ dependencies: - html5lib - jupyter - libssh2 + - octave_kernel From 182c412c15cca4e334810c680061ed09dcc3b6ab Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:24:55 -0400 Subject: [PATCH 05/32] python 3.7 --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index a2b45cf..fc5d710 100644 --- a/environment.yml +++ b/environment.yml @@ -33,3 +33,4 @@ dependencies: - jupyter - libssh2 - octave_kernel + - python=3.7 From 962315cd5335585f051f33b5515d603b8db73102 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:26:27 -0400 Subject: [PATCH 06/32] runtime txt for R --- runtime.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 runtime.txt diff --git a/runtime.txt b/runtime.txt new file mode 100644 index 0000000..5e1ec48 --- /dev/null +++ b/runtime.txt @@ -0,0 +1 @@ +r-2018-02-05 From 9f7f937bf05d894ed5a47aee07ed48a5bb05e57c Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:27:17 -0400 Subject: [PATCH 07/32] added init R file --- install.R | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 install.R diff --git a/install.R b/install.R new file mode 100644 index 0000000..77bdf26 --- /dev/null +++ b/install.R @@ -0,0 +1,5 @@ +install.packages("tidyverse") +install.packages("rmarkdown") +install.packages("httr") +install.packages("shinydashboard") +install.packages('leaflet') From f2e59f977b10ababd8a6a700382e55e25eab927d Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:29:35 -0400 Subject: [PATCH 08/32] for octave kernel --- apt.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 apt.txt diff --git a/apt.txt b/apt.txt new file mode 100644 index 0000000..dc0d6cc --- /dev/null +++ b/apt.txt @@ -0,0 +1,5 @@ +octave +octave-symbolic +octave-miscellaneous +gnuplot +ghostscript From 8065126e819e0f48039080e48d66a92e3b5554fb Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:30:32 -0400 Subject: [PATCH 09/32] move to master --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ce742d..e6e2a2f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Conda environment with environment.yml -[![Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/3keepmovingforward3/conda/test) +[![Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/3keepmovingforward3/conda/master) A Binder-compatible repo with an `environment.yml` file. From 9c4049805ed62db212bace4e00d3b0790d2763f7 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:52:50 -0400 Subject: [PATCH 10/32] fixe conda reror --- environment.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/environment.yml b/environment.yml index fc5d710..c1df84d 100644 --- a/environment.yml +++ b/environment.yml @@ -19,7 +19,6 @@ dependencies: - yaml - xz - xlwt - - xlwings - wheel - tornado - sqlite @@ -27,7 +26,6 @@ dependencies: - sip - tk - isort - - ipytkernel - ipython - html5lib - jupyter From 5e8e00a7146e503d33c233beb4e86329361ee645 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 14:17:07 -0400 Subject: [PATCH 11/32] trying to fix --- environment.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/environment.yml b/environment.yml index c1df84d..88fb0f0 100644 --- a/environment.yml +++ b/environment.yml @@ -9,18 +9,12 @@ dependencies: - dill - pandas - partd - - bokeh - - dask - scipy - zstd - zlib - zict - zeromq - yaml - - xz - - xlwt - - wheel - - tornado - sqlite - sympy - sip @@ -29,6 +23,5 @@ dependencies: - ipython - html5lib - jupyter - - libssh2 - octave_kernel - python=3.7 From e9b835da5ee720c52dd87c3bae856bf6bbc68191 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 14:18:22 -0400 Subject: [PATCH 12/32] fdfd --- environment.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/environment.yml b/environment.yml index 88fb0f0..0ab1682 100644 --- a/environment.yml +++ b/environment.yml @@ -3,11 +3,8 @@ channels: - conda-forge dependencies: - numpy - - psutil - - toolz - matplotlib - dill - - pandas - partd - scipy - zstd @@ -20,8 +17,5 @@ dependencies: - sip - tk - isort - - ipython - html5lib - jupyter - - octave_kernel - - python=3.7 From 7fe4ce7f95228bd719748efce0b62400b4234be8 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 14:26:17 -0400 Subject: [PATCH 13/32] cleaninup up env --- environment.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/environment.yml b/environment.yml index 0ab1682..fb8070a 100644 --- a/environment.yml +++ b/environment.yml @@ -4,18 +4,10 @@ channels: dependencies: - numpy - matplotlib - - dill - - partd - scipy - zstd - zlib - - zict - - zeromq - yaml - sqlite - sympy - - sip - - tk - - isort - - html5lib - jupyter From db83028c695791417cab80796dfc1e36b70174b6 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 14:28:59 -0400 Subject: [PATCH 14/32] changed to JupyterLab --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e6e2a2f..a71bdfd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Conda environment with environment.yml -[![Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/3keepmovingforward3/conda/master) +[![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. From ee46e89305e9ed41f68d04a347133bfc81b54562 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 15:50:06 -0400 Subject: [PATCH 15/32] remove r --- install.R | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 install.R diff --git a/install.R b/install.R deleted file mode 100644 index 77bdf26..0000000 --- a/install.R +++ /dev/null @@ -1,5 +0,0 @@ -install.packages("tidyverse") -install.packages("rmarkdown") -install.packages("httr") -install.packages("shinydashboard") -install.packages('leaflet') From 735d498ccb580da934b57168713ac1d1045a37c3 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 15:50:15 -0400 Subject: [PATCH 16/32] remove r --- runtime.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 runtime.txt diff --git a/runtime.txt b/runtime.txt deleted file mode 100644 index 5e1ec48..0000000 --- a/runtime.txt +++ /dev/null @@ -1 +0,0 @@ -r-2018-02-05 From 61854e8bac025758ffc9c86e7e270e0df5131161 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 15:53:13 -0400 Subject: [PATCH 17/32] wtf --- environment.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/environment.yml b/environment.yml index fb8070a..99b67b7 100644 --- a/environment.yml +++ b/environment.yml @@ -5,9 +5,3 @@ dependencies: - numpy - matplotlib - scipy - - zstd - - zlib - - yaml - - sqlite - - sympy - - jupyter From dca1df40f37f2ebff545494244344b876d2af062 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 15:54:18 -0400 Subject: [PATCH 18/32] Delete apt.txt --- apt.txt | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 apt.txt diff --git a/apt.txt b/apt.txt deleted file mode 100644 index dc0d6cc..0000000 --- a/apt.txt +++ /dev/null @@ -1,5 +0,0 @@ -octave -octave-symbolic -octave-miscellaneous -gnuplot -ghostscript From fd59db3b467695aa3a4ce24bc6d6b547c149c07a Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 16:00:57 -0400 Subject: [PATCH 19/32] Update environment.yml --- environment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/environment.yml b/environment.yml index 99b67b7..9d56def 100644 --- a/environment.yml +++ b/environment.yml @@ -5,3 +5,5 @@ dependencies: - numpy - matplotlib - scipy + - pandas + - octave_kernel From e1de567d56a38b368b9914e0c1375646491e9d54 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 16:40:17 -0400 Subject: [PATCH 20/32] Update environment.yml --- environment.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/environment.yml b/environment.yml index 9d56def..4c7fad6 100644 --- a/environment.yml +++ b/environment.yml @@ -7,3 +7,8 @@ dependencies: - scipy - pandas - octave_kernel + - pyjanitor + - node + - occi + - occidentalis + From 76015c42e825fbf6de6dedeb2a35fc6ed710062a Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 16:44:46 -0400 Subject: [PATCH 21/32] Update environment.yml --- environment.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/environment.yml b/environment.yml index 4c7fad6..299d31b 100644 --- a/environment.yml +++ b/environment.yml @@ -9,6 +9,3 @@ dependencies: - octave_kernel - pyjanitor - node - - occi - - occidentalis - From 92fd8dbf05d73ad3d9f34b9be75e84a5fd867d03 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 16:51:02 -0400 Subject: [PATCH 22/32] Update environment.yml --- environment.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/environment.yml b/environment.yml index 299d31b..c26e1c6 100644 --- a/environment.yml +++ b/environment.yml @@ -8,4 +8,3 @@ dependencies: - pandas - octave_kernel - pyjanitor - - node From abdc5261b060d3bf13b681ccf9b261e88352b1db Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 16:55:09 -0400 Subject: [PATCH 23/32] Create apt.txt --- apt.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 apt.txt diff --git a/apt.txt b/apt.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/apt.txt @@ -0,0 +1 @@ + From 359763c15836d38d674b9b013f5b692fe99432b8 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Thu, 28 Mar 2019 20:16:34 -0400 Subject: [PATCH 24/32] Update environment.yml --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index c26e1c6..299d31b 100644 --- a/environment.yml +++ b/environment.yml @@ -8,3 +8,4 @@ dependencies: - pandas - octave_kernel - pyjanitor + - node From fce4b0b35c3ebddc181248038d5846ac527716f0 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:20:05 -0400 Subject: [PATCH 25/32] Update environment.yml --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index 299d31b..17fba9e 100644 --- a/environment.yml +++ b/environment.yml @@ -9,3 +9,4 @@ dependencies: - octave_kernel - pyjanitor - node + - bash_kernel From 45ae07fd39f0bbf931df28b29b2a50b2d201ef61 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:23:38 -0400 Subject: [PATCH 26/32] Update environment.yml --- environment.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index 17fba9e..3d29ca7 100644 --- a/environment.yml +++ b/environment.yml @@ -9,4 +9,5 @@ dependencies: - octave_kernel - pyjanitor - node - - bash_kernel + - pip: + - bash_kernel From 863b9d431701d71be971f6fe1884e8123ea974b1 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:26:12 -0400 Subject: [PATCH 27/32] Update apt.txt --- apt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt.txt b/apt.txt index 8b13789..5734185 100644 --- a/apt.txt +++ b/apt.txt @@ -1 +1 @@ - +conda update -n base conda From 902011086a676e56f6911e99e0d0a631685f6be5 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:28:46 -0400 Subject: [PATCH 28/32] Update apt.txt --- apt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt.txt b/apt.txt index 5734185..8b13789 100644 --- a/apt.txt +++ b/apt.txt @@ -1 +1 @@ -conda update -n base conda + From 508b92938b6489689cd834e0e1ec535a658a7be3 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:31:55 -0400 Subject: [PATCH 29/32] Update environment.yml --- environment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/environment.yml b/environment.yml index 3d29ca7..a65155a 100644 --- a/environment.yml +++ b/environment.yml @@ -9,5 +9,8 @@ dependencies: - octave_kernel - pyjanitor - node + - boto + - django + - requests - pip: - bash_kernel From 66d5980684f35eba403dac4766ab30684e83a96e Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:32:05 -0400 Subject: [PATCH 30/32] Update apt.txt --- apt.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/apt.txt b/apt.txt index 8b13789..64aabeb 100644 --- a/apt.txt +++ b/apt.txt @@ -1 +1,7 @@ - +texlive-latex-base +texlive-latex-recommended +texlive-science +texlive-latex-extra +texlive-fonts-recommended +dvipng +ghostscript From eb29cdc39232bbd0fc861e5cd34109f5ba9a00b3 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:32:52 -0400 Subject: [PATCH 31/32] Update environment.yml --- environment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/environment.yml b/environment.yml index a65155a..09dceff 100644 --- a/environment.yml +++ b/environment.yml @@ -12,5 +12,8 @@ dependencies: - boto - django - requests + - nodejs=9 + - jupyterlab>=0.33 - pip: - bash_kernel + - jupyterlab_latex From f9b5974aff5b28309ea6ad8c9968c5e28d080954 Mon Sep 17 00:00:00 2001 From: Benjamin Blouin <3keepmovingforward3@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:33:24 -0400 Subject: [PATCH 32/32] Create postBuild --- postBuild | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 postBuild 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