Skip to content

Commit ee24927

Browse files
committed
build: Split dev dependencies into dev,docs
1 parent b26e507 commit ee24927

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.readthedocs.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ sphinx:
1919
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
2020
python:
2121
install:
22-
- requirements: docs/requirements.txt
22+
- method: pip
23+
path: .
24+
extra_requirements:
25+
- docs

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $(VENV)/.installed: Makefile pyproject.toml
3232
test -d $(VENV) || python3 -m venv $(VENV)
3333
$(VENV)/bin/python3 -m ensurepip
3434
$(VENV)/bin/pip install -q -U pip
35-
$(VENV)/bin/pip install -q -e .[dev]
35+
$(VENV)/bin/pip install -q -e .[dev,docs]
3636
touch $(VENV)/.installed
3737

3838
.PHONY: venv

docs/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,13 @@ classifiers = [
3434
dev = [
3535
"pytest",
3636
"pytest-cov",
37+
"build",
38+
"twine",
39+
]
40+
docs = [
3741
"sphinx",
3842
"sphinx-autobuild",
3943
"sphinx-intl",
40-
"build",
41-
"twine",
4244
]
4345

4446
[project.urls]

0 commit comments

Comments
 (0)