File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1010 runs-on : macos-latest
1111 steps :
1212 - name : Install brew dependencies
13- run : brew install fftw openblas
13+ run : brew install fftw openblas swig
1414
1515 - uses : actions/checkout@v2
1616
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ all: 01.f2py.ipynb 02.f2py.ipynb 03.julia-set.ipynb 04.vlasov-poisson.ipynb 05.c
33.SUFFIXES : .py .ipynb
44
55.py.ipynb :
6- jupytext --set-formats py,notebooks//ipynb $<
76 jupytext --sync $<
87
9801.f2py.ipynb : 01.f2py.py
Original file line number Diff line number Diff line change @@ -18,4 +18,15 @@ jupyter notebook
1818 - [ Finite differences on staggered grid to solve Maxwell equations in 2D] ( https://pnavaro.github.io/python-fortran/07.maxwell-fdtd-2d.html )
1919 - [ Short example with SWIG and CTYPES] ( https://pnavaro.github.io/python-fortran/08.swig.html )
2020
21+ Reminder: Build the Jupyter book
22+
23+ ``` bash
24+ make
25+ jupyter-book build notebooks
26+ ```
27+ and eventually push the book to gh-pages
28+ ``` bash
29+ ghp-import -n -p -f notebooks/_build/html
30+ ```
31+
2132Pierre Navaro IRMAR CNRS
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ dependencies:
66 - pip
77 - pip :
88 - -r requirements.txt
9+ - jupytext
You can’t perform that action at this time.
0 commit comments