From 60b4dc9e3c072dc01e5a11dedeae225f331a2980 Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Wed, 7 Feb 2024 20:57:36 -0500 Subject: fix: remove stray mentions of 'setup.py' --- docs/tutorials/wiki/definingviews.rst | 2 +- docs/tutorials/wiki/design.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/wiki/definingviews.rst b/docs/tutorials/wiki/definingviews.rst index 41d8c13a1..b0368bddf 100644 --- a/docs/tutorials/wiki/definingviews.rst +++ b/docs/tutorials/wiki/definingviews.rst @@ -34,7 +34,7 @@ The view code in our application will depend on a package which is not a depende The original "tutorial" application was generated by the cookiecutter. It does not know about our custom application requirements. -We need to add a dependency on the ``docutils`` package to our ``tutorial`` package's ``pyproject.toml`` file by assigning this dependency to the ``requires`` parameter in the ``setup()`` function. +We need to add a dependency on the ``docutils`` package to our ``tutorial`` package's ``pyproject.toml`` file by assigning this dependency to its ``dependencies`` stanza. Open ``pyproject.toml`` and edit it to look like the following: diff --git a/docs/tutorials/wiki/design.rst b/docs/tutorials/wiki/design.rst index 5c86293f6..9c03d4bdc 100644 --- a/docs/tutorials/wiki/design.rst +++ b/docs/tutorials/wiki/design.rst @@ -12,7 +12,7 @@ Overall We choose to use :term:`reStructuredText` markup in the wiki text. Conversion from reStructuredText to HTML is provided by the widely used ``docutils`` Python module. -We will add this module in the dependency list on the project ``setup.py`` file. +We will add this module in the dependency list on the project's ``pyproject.toml`` file. Models -- cgit v1.2.3