-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
25 lines (20 loc) · 926 Bytes
/
Makefile
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
all:
test:
pytest pyfermions
run-notebooks:
jupyter nbconvert --execute --inplace notebooks/error_bounds.ipynb
jupyter nbconvert --execute --inplace notebooks/evenbly_white.ipynb
jupyter nbconvert --execute --inplace notebooks/figures.ipynb
jupyter nbconvert --execute --inplace notebooks/mera1d.ipynb
jupyter nbconvert --execute --inplace notebooks/mera2d.ipynb
jupyter nbconvert --execute --inplace notebooks/selesnick.ipynb
jupyter nbconvert --execute --inplace notebooks/bosonic-mera.ipynb
export-notebooks:
cd notebooks && jupyter nbconvert --to pdf *.ipynb
pretty:
black --target-version py38 pyfermions setup.py
upload-release:
python -c "import wheel" # check upload dependencies
python -c "import subprocess; assert b'dev' not in subprocess.check_output('python setup.py --version', shell=True).strip(), 'trying to upload dev release'"
python setup.py sdist bdist_wheel
twine upload dist/* --sign