Skip to content

Commit

Permalink
[Feature] Use PyPI version of teachbooks
Browse files Browse the repository at this point in the history
  • Loading branch information
CasparJungbacker committed Apr 4, 2024
1 parent b9e8e71 commit 733fa8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy-book-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 733fa8a

Please sign in to comment.