Skip to content

Commit a7eae09

Browse files
committed
Move warning to appropriate inline tab
1 parent 7e62d4c commit a7eae09

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/tutorials/packaging-projects.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -329,17 +329,17 @@ be required, but can be omitted with newer versions of setuptools and pip.
329329
There are many more than the ones mentioned here. See
330330
:doc:`/guides/distributing-packages-using-setuptools` for more details.
331331

332-
.. warning::
332+
.. warning::
333333

334-
You may see some existing projects or other Python packaging tutorials that
335-
import their ``setup`` function from ``distutils.core`` rather than
336-
``setuptools``. This is a `legacy approach`_ that installers support
337-
for backwards compatibility purposes [1]_, but using the legacy ``distutils`` API
338-
directly in new projects is strongly discouraged, since ``distutils`` is
339-
deprecated as per :pep:`632` and will be removed from the standard library
340-
in Python 3.12.
334+
You may see some existing projects or other Python packaging tutorials that
335+
import their ``setup`` function from ``distutils.core`` rather than
336+
``setuptools``. This is a `legacy approach`_ that installers support
337+
for backwards compatibility purposes [1]_, but using the legacy ``distutils`` API
338+
directly in new projects is strongly discouraged, since ``distutils`` is
339+
deprecated as per :pep:`632` and will be removed from the standard library
340+
in Python 3.12.
341341

342-
.. _legacy approach: https://docs.python.org/3.10/library/distutils.html
342+
.. _legacy approach: https://docs.python.org/3.10/library/distutils.html
343343

344344
Creating README.md
345345
------------------

0 commit comments

Comments
 (0)