diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 49d67bc..97e3e43 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -29,10 +29,6 @@ jobs: - name: Install psignifit run: pip install . - - name: Install jupyter_book - shell: bash -l {0} - run: pip install -U git+https://github.com/ExecutableBookProject/jupyter-book.git@main - - name: Build My Book shell: bash -l {0} run: jupyter-book build --warningiserror docs/ diff --git a/docs/requirements.txt b/docs/requirements.txt index d5f5c6c..9313057 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,5 +1,5 @@ -- sphinx -- numpy -- matplotlib -- sphinxcontrib-mermaid -- jupyter-book +sphinx +numpy +matplotlib +sphinxcontrib-mermaid +jupyter-book>=1.0,<2 diff --git a/psignifit/__init__.py b/psignifit/__init__.py index 9f38de7..cbf2066 100644 --- a/psignifit/__init__.py +++ b/psignifit/__init__.py @@ -3,9 +3,6 @@ Python psignifit - based on Matlab psignifit by Heiko Schütt with help from Felix Wichmann, Jakob Macke and Stefan Harmeling. """ -import os -import subprocess - # import here the main function from .psignifit import psignifit from .tools import pool_blocks diff --git a/pyproject.toml b/pyproject.toml index 3929504..1f8db03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,10 +51,13 @@ docs = [ "sphinx-gallery", "sphinx_rtd_theme", "matplotlib", - "jupyter-book==0.14", + "jupyter-book>=1.0,<2", "jupytext>=1.13.3", "jupyterlab_myst", "myst_nb", "ipywidgets", "sphinx-hoverxref", ] + +[tool.setuptools.packages.find] +include = ["psignifit*"]