Skip to content

Commit 514be80

Browse files
committed
update literalinclude
1 parent 5e3a3f0 commit 514be80

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

hypothesis-python/docs/packaging.rst

+4-5
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,10 @@ Hypothesis has *mandatory* dependencies on the following libraries:
4545

4646
Hypothesis has *optional* dependencies on the following libraries:
4747

48-
.. literalinclude:: ../setup.py
49-
:prepend: extras_require = {
50-
:start-after: extras = {
51-
:end-before: }
52-
:append: }
48+
.. literalinclude:: ../pyproject.toml
49+
:prepend: [project.optional-dependencies]
50+
:start-after: [project.optional-dependencies]
51+
:end-before: # Avoid changing this by hand
5352

5453
The way this works when installing Hypothesis normally is that these features become available if the relevant
5554
library is installed.

0 commit comments

Comments
 (0)