-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (23 loc) · 867 Bytes
/
Makefile
File metadata and controls
33 lines (23 loc) · 867 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
TAG=2024-07-25_caustique
J=jupyter nbconvert --ExecutePreprocessor.timeout=0 --allow-errors --execute
# J=jupyter nbconvert --ExecutePreprocessor.kernel_name=python3 --ExecutePreprocessor.timeout=0 --allow-errors --execute
JN=$(J) --to notebook --inplace
#JN=$(J) --to markdown --stdout
default: html github
run:
# $(JN) 2024-10-07_caustique-bands.ipynb
$(JN) $(TAG).ipynb
html:
jupyter-nbconvert $(TAG).ipynb --to html --output index.html
github:
git pull; git commit -am"$(TAG)" ; git push
mp4:
cp $(TAG)/caustique.mp4 iridiscence.mp4
install_local:
python3 -m pip install --upgrade --user -r requirements.txt
install_global:
python3 -m pip install --upgrade -r requirements.txt
pull_fortytwo:
rsync -av -u -e "ssh -i ~/.ssh/id-ring-ecdsa" laurentperrinet@10.164.6.136:quantic/EtienneRey/2020_caustiques/$(TAG) .
clean:
rm -fr /tmp/$(TAG)/*