From 6448dff4cb2ee31cfaa7b8ac138f6caf786c2875 Mon Sep 17 00:00:00 2001 From: Nathan Dunfield Date: Tue, 26 Nov 2024 22:34:06 -0600 Subject: [PATCH] Try to add docs --- build_mac_app.sh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/build_mac_app.sh b/build_mac_app.sh index d0c5731..b8ee70b 100644 --- a/build_mac_app.sh +++ b/build_mac_app.sh @@ -69,7 +69,22 @@ install_package $USE_BINARY knot_floer_homology install_package $USE_BINARY low_index $pip_install tkinter_gl install_package Spherogram -install_package SnapPy +# Build SnapPy and its docs +echo Building SnapPy from source: +if [ ! -d SnapPy ]; then + git clone https://github.com/3-manifolds/$1.git + cd SnapPy +else + cd SnapPy + git pull + python3 setup.py clean +fi +python3 setup.py build -j 4 +python3 setup.py build_docs +python3 setup.py bdist_wheel +python3 -m pip install --no-index --find-links dist snappy +cd .. + # if frameworks/Frameworks.tgz does not exist, build it. if [ ! -e frameworks/Frameworks-3.13.tgz ]; then