From 733fa8a6d4efb79a255c6b9490f07cdc8ee5355d Mon Sep 17 00:00:00 2001 From: Caspar Jungbacker <74240267+CasparJungbacker@users.noreply.github.com> Date: Thu, 4 Apr 2024 15:18:29 +0200 Subject: [PATCH] [Feature] Use PyPI version of `teachbooks` --- .github/workflows/deploy-book-ghpages.yml | 5 ----- requirements.txt | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/deploy-book-ghpages.yml b/.github/workflows/deploy-book-ghpages.yml index a63e508..92a90b3 100644 --- a/.github/workflows/deploy-book-ghpages.yml +++ b/.github/workflows/deploy-book-ghpages.yml @@ -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 diff --git a/requirements.txt b/requirements.txt index 2482e95..5917367 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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