File tree 4 files changed +13
-2
lines changed
4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : macos-latest
11
11
steps :
12
12
- name : Install brew dependencies
13
- run : brew install fftw openblas
13
+ run : brew install fftw openblas swig
14
14
15
15
- uses : actions/checkout@v2
16
16
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
3
3
.SUFFIXES : .py .ipynb
4
4
5
5
.py.ipynb :
6
- jupytext --set-formats py,notebooks//ipynb $<
7
6
jupytext --sync $<
8
7
9
8
01.f2py.ipynb : 01.f2py.py
Original file line number Diff line number Diff line change @@ -18,4 +18,15 @@ jupyter notebook
18
18
- [ Finite differences on staggered grid to solve Maxwell equations in 2D] ( https://pnavaro.github.io/python-fortran/07.maxwell-fdtd-2d.html )
19
19
- [ Short example with SWIG and CTYPES] ( https://pnavaro.github.io/python-fortran/08.swig.html )
20
20
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
+
21
32
Pierre Navaro IRMAR CNRS
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ dependencies:
6
6
- pip
7
7
- pip :
8
8
- -r requirements.txt
9
+ - jupytext
You can’t perform that action at this time.
0 commit comments