File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
2- # Need to set PYTHONPATH so that we pick up the local msprime
3- PYPATH =${PWD}/..
4- MSP_VERSION: =$(shell PYTHONPATH=${PYPATH} \
5- python3 -c 'import msprime; print(msprime.__version__.split("+") [0])')
6-
7- dev :
8- PYTHONPATH=${PYPATH} ./build.sh
9-
10- dist :
11- @echo Building distribution for msprime version ${MSP_VERSION}
12- sed -i s/__MSPRIME_VERSION__/${MSP_VERSION} /g _config.yml
13- PYTHONPATH=${PYPATH} ./build.sh
1+ all :
2+ ./build.sh
143
154clean :
165 rm -fR _build
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ sphinx:
4242 navigation_with_keys : false
4343 pygments_dark_style : monokai
4444 logo :
45- text : " Version __MSPRIME_VERSION__ "
45+ text : " Version __PKG_VERSION__ "
4646 myst_enable_extensions :
4747 - colon_fence
4848 - deflist
Original file line number Diff line number Diff line change 66
77REPORTDIR=_build/html/reports
88
9- jupyter-book build -nW --keep-going .
9+ uv run --project=.. --only-group docs jupyter-book build . -vnW --keep-going
1010RETVAL=$?
1111if [ $RETVAL -ne 0 ]; then
1212 if [ -e $REPORTDIR ]; then
You can’t perform that action at this time.
0 commit comments