mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
This commit is contained in:
parent
b373721af0
commit
1307b8a1cb
@ -209,7 +209,7 @@ this. For a small app like polls, this process isn't too difficult.
|
||||
:caption: ``django-polls/pyproject.toml``
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0"]
|
||||
requires = ["setuptools>=69.3"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
@ -285,7 +285,7 @@ this. For a small app like polls, this process isn't too difficult.
|
||||
#. Check that the :pypi:`build` package is installed (``python -m pip install
|
||||
build``) and try building your package by running ``python -m build`` inside
|
||||
``django-polls``. This creates a directory called ``dist`` and builds your
|
||||
new package into source and binary formats, ``django-polls-0.1.tar.gz`` and
|
||||
new package into source and binary formats, ``django_polls-0.1.tar.gz`` and
|
||||
``django_polls-0.1-py3-none-any.whl``.
|
||||
|
||||
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.
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
python -m pip install --user django-polls/dist/django-polls-0.1.tar.gz
|
||||
python -m pip install --user django-polls/dist/django_polls-0.1.tar.gz
|
||||
|
||||
#. Update ``mysite/settings.py`` to point to the new module name::
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user