diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 15641c18..5398903e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,9 +11,10 @@ build: python: install: - - requirements: docs/requirements.txt - method: pip path: . + extra_requirements: + - docs sphinx: builder: html diff --git a/binder/requirements.txt b/binder/requirements.txt new file mode 100644 index 00000000..31f1d651 --- /dev/null +++ b/binder/requirements.txt @@ -0,0 +1,3 @@ +jupytext>=1.13.3 +jupyterlab_myst +myst_nb \ No newline at end of file diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index dbe7e0ed..00000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -jupyter-book==0.14 -jupytext>=1.13.3 -jupyterlab_myst -myst_nb -ipywidgets \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 64e15be4..57245bb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,8 @@ maintainers = [ {name = "Joris Vincent", email = "j.vincent@tu-berlin.de"}, ] +dynamic = ["version"] + requires-python = ">=3.6" dependencies = [ "numpy", @@ -32,7 +34,14 @@ dependencies = [ "Pillow" ] -dynamic = ["version"] +[project.optional-dependencies] +docs = [ + "jupyter-book==0.14", + "jupytext>=1.13.3", + "jupyterlab_myst", + "myst_nb", + "ipywidgets", +] [project.urls] repository = "https://github.com/computational-psychology/stimupy.git" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 8095a5d6..00000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -numpy -scipy -pandas -Pillow -pytest - --r docs/requirements.txt \ No newline at end of file