Skip to content

Commit 1307b8a

Browse files
authored
Fixed #36402, Refs #35980 -- Updated built package name in reusable apps tutorial for PEP 625.
1 parent b373721 commit 1307b8a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/intro/reusable-apps.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ this. For a small app like polls, this process isn't too difficult.
209209
:caption: ``django-polls/pyproject.toml``
210210

211211
[build-system]
212-
requires = ["setuptools>=61.0"]
212+
requires = ["setuptools>=69.3"]
213213
build-backend = "setuptools.build_meta"
214214

215215
[project]
@@ -285,7 +285,7 @@ this. For a small app like polls, this process isn't too difficult.
285285
#. Check that the :pypi:`build` package is installed (``python -m pip install
286286
build``) and try building your package by running ``python -m build`` inside
287287
``django-polls``. This creates a directory called ``dist`` and builds your
288-
new package into source and binary formats, ``django-polls-0.1.tar.gz`` and
288+
new package into source and binary formats, ``django_polls-0.1.tar.gz`` and
289289
``django_polls-0.1-py3-none-any.whl``.
290290

291291
For more information on packaging, see Python's `Tutorial on Packaging and
@@ -315,7 +315,7 @@ working. We'll now fix this by installing our new ``django-polls`` package.
315315

316316
.. code-block:: shell
317317

318-
python -m pip install --user django-polls/dist/django-polls-0.1.tar.gz
318+
python -m pip install --user django-polls/dist/django_polls-0.1.tar.gz
319319

320320
#. Update ``mysite/settings.py`` to point to the new module name::
321321

0 commit comments

Comments
 (0)