[Feature] Use PyPI version of teachbooks

This commit is contained in:
Caspar Jungbacker 2024-04-04 15:18:29 +02:00
parent b9e8e71a59
commit 733fa8a6d4
2 changed files with 1 additions and 6 deletions

View file

@ -93,11 +93,6 @@ jobs:
name: Preprocess & build the book from branch
run: |
echo $PATH
# Install wrapper
# NOTE: teachbooks is already installed w requirements.txt, however not on PATH
# Installing with --user fixes this.
# TODO remove --extra-index-url once teachbooks is on PyPI
pip install --user teachbooks --extra-index-url https://gitlab.tudelft.nl/api/v4/projects/13957/packages/pypi/simple
if [ ${{matrix.branch}} == $PRIMARY_BRANCH ]; then
teachbooks build --publish book/
else

View file

@ -1,5 +1,5 @@
# first list the packages you wish to download from PyPI
jupyter-book
teachbooks # depends on jupyter-book
# numpy
# docutils version for reference page formatting