Skip to content

Commit 24dff07

Browse files
authored
Publish the optional extra whoosh (#60)
This way, downstream packagers can provide the desired extra that has benefit to the end users (whoosh) without pulling the unwanted test-specific dependencies.
1 parent 70809f2 commit 24dff07

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ dynamic = ["version"]
5050
[project.optional-dependencies]
5151
test = [
5252
"pytest",
53+
]
54+
whoosh = [
5355
"sqlalchemy",
5456
"whoosh",
5557
]

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ isolated_build = True
1010
usedevelop = True
1111
extras =
1212
test
13+
whoosh
1314
setenv =
1415
SPHINX_TEST_TEMPDIR = {envdir}/testbuild
1516
PYTHONDONTWRITEBYTECODE = true

0 commit comments

Comments
 (0)