Skip to content

Commit

Permalink
Specify optional dev-dependencies for docs in pyproject.toml
Browse files Browse the repository at this point in the history
Can install using `pip install -e ".[docs]"`
  • Loading branch information
JorisVincent committed Mar 14, 2023
1 parent 111b3d1 commit 179f292
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .readthedocs.yaml
Expand Up @@ -11,9 +11,10 @@ build:

python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs

sphinx:
builder: html
Expand Down
3 changes: 3 additions & 0 deletions binder/requirements.txt
@@ -0,0 +1,3 @@
jupytext>=1.13.3
jupyterlab_myst
myst_nb
5 changes: 0 additions & 5 deletions docs/requirements.txt

This file was deleted.

11 changes: 10 additions & 1 deletion pyproject.toml
Expand Up @@ -23,6 +23,8 @@ maintainers = [
{name = "Joris Vincent", email = "j.vincent@tu-berlin.de"},
]

dynamic = ["version"]

requires-python = ">=3.6"
dependencies = [
"numpy",
Expand All @@ -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"
Expand Down
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.

0 comments on commit 179f292

Please sign in to comment.