Skip to content

Commit c5b4263

Browse files
jcjudkinsnessita
authored andcommitted
[4.2.x] Fixed #36402, Refs #35980 -- Updated built package name in reusable apps tutorial for PEP 625.
Backport of 1307b8a from main.
1 parent 32fd8de commit c5b4263

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/intro/reusable-apps.txt

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

195195
[build-system]
196-
requires = ["setuptools>=61.0"]
196+
requires = ["setuptools>=69.3"]
197197
build-backend = "setuptools.build_meta"
198198

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

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

283283
.. code-block:: shell
284284

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

287287
#. With luck, your Django project should now work correctly again. Run the
288288
server again to confirm this.

0 commit comments

Comments
 (0)