From 94d5ce60c783eed483d2fff49a6470b066430bfb Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 7 Feb 2024 12:24:11 -0500 Subject: docs: update ZODB wiki tutorial to cookiecutter - Describe 'pyproject.toml' usage (replacing 'setup.py', 'pytest.ini', '.coveragerc'). - Document the new PyPA-blessed build process. --- docs/tutorials/wiki/authorization.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/tutorials/wiki/authorization.rst') diff --git a/docs/tutorials/wiki/authorization.rst b/docs/tutorials/wiki/authorization.rst index 2b700ee5b..f7f1be8d0 100644 --- a/docs/tutorials/wiki/authorization.rst +++ b/docs/tutorials/wiki/authorization.rst @@ -38,12 +38,12 @@ Add dependencies ~~~~~~~~~~~~~~~~ Just like in :ref:`wiki_defining_views`, we need a new dependency. -We need to add the `bcrypt `_ package to our tutorial package's ``setup.py`` file by assigning this dependency to the ``requires`` parameter in the ``setup()`` function. +We need to add the `bcrypt `_ package to our tutorial package's ``pyproject.toml`` file by assigning this dependency to the ``dependencies`` stanza. -Open ``setup.py`` and edit it to look like the following: +Open ``pyproject.toml`` and edit it to look like the following: -.. literalinclude:: src/authorization/setup.py - :lines: 11-30 +.. literalinclude:: src/authorization/pyproject.toml + :lines: 20-33 :lineno-match: :emphasize-lines: 2 :language: python -- cgit v1.2.3