Skip to content

Commit c888ab2

Browse files
ncoghlanastrojuanlu
authored andcommitted
Link to stdlib distutils deprecation page
1 parent c31f900 commit c888ab2

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

source/guides/distributing-packages-using-setuptools.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
Packaging and distributing projects
55
===================================
66

7-
This section covers the basics of how to configure, package and distribute your
8-
own Python projects. It assumes that you are already familiar with the contents
9-
of the :doc:`/tutorials/installing-packages` page.
7+
This section covers some additional details on configuring, packaging and
8+
distributing Python projects with ``setuptools`` that aren't covered by the
9+
introductory tutorial in :doc:`/tutorials/packaging-projects`. It still assumes
10+
that you are already familiar with the contents of the
11+
:doc:`/tutorials/installing-packages` page.
1012

1113
The section does *not* aim to cover best practices for Python project
1214
development as a whole. For example, it does not provide guidance or tool

source/tutorials/packaging-projects.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,13 @@ be required, but can be omitted with newer versions of setuptools and pip.
333333

334334
You may see some existing projects or other Python packaging tutorials that
335335
import their ``setup`` function from ``distutils.core`` rather than
336-
``setuptools``. This is a legacy approach that installers [1]_ still support
336+
``setuptools``. This is a `legacy approach`_ that installers [1]_ support
337337
for backwards compatibility purposes, but using the legacy ``distutils`` API
338338
directly in new projects is strongly discouraged, as it means that newer
339339
build commands, like ``setup.py bdist_wheel``, won't work.
340340

341+
.. _legacy approach: https://docs.python.org/3/library/distutils.html
342+
341343
Creating README.md
342344
------------------
343345

0 commit comments

Comments
 (0)