summaryrefslogtreecommitdiff
path: root/docs/deprecated/distutils/introduction.rst
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-10-18 19:06:45 -0400
committerGitHub <noreply@github.com>2020-10-18 19:06:45 -0400
commit8b494633df0f6770946092498aed76fd30be99b1 (patch)
treeb30c8969c6515342c080cad1aa1f8c3912a88c7a /docs/deprecated/distutils/introduction.rst
parent109bde8883ed07092443ae51fe1f5fe732300a13 (diff)
parent18b7a3e77aa81e9d22cd0a52061a2c8e3a640cc8 (diff)
downloadpython-setuptools-git-8b494633df0f6770946092498aed76fd30be99b1.tar.gz
Merge pull request #2438 from webknjaz/bugfixes/distutils-sphinx-refs
Fix refs in distutils sphinx docs
Diffstat (limited to 'docs/deprecated/distutils/introduction.rst')
-rw-r--r--docs/deprecated/distutils/introduction.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/deprecated/distutils/introduction.rst b/docs/deprecated/distutils/introduction.rst
index 1f8a560e..7491b965 100644
--- a/docs/deprecated/distutils/introduction.rst
+++ b/docs/deprecated/distutils/introduction.rst
@@ -55,7 +55,7 @@ Unlike, say, Autoconf-style configure scripts, the setup script may be run
multiple times in the course of building and installing your module
distribution.
-If all you want to do is distribute a module called :mod:`foo`, contained in a
+If all you want to do is distribute a module called ``foo``, contained in a
file :file:`foo.py`, then your setup script can be as simple as this::
from distutils.core import setup
@@ -67,7 +67,7 @@ file :file:`foo.py`, then your setup script can be as simple as this::
Some observations:
* most information that you supply to the Distutils is supplied as keyword
- arguments to the :func:`setup` function
+ arguments to the :func:`~distutils.core.setup` function
* those keyword arguments fall into two categories: package metadata (name,
version number) and information about what's in the package (a list of pure
@@ -96,7 +96,7 @@ containing your setup script :file:`setup.py`, and your module :file:`foo.py`.
The archive file will be named :file:`foo-1.0.tar.gz` (or :file:`.zip`), and
will unpack into a directory :file:`foo-1.0`.
-If an end-user wishes to install your :mod:`foo` module, all they have to do is
+If an end-user wishes to install your ``foo`` module, all they have to do is
download :file:`foo-1.0.tar.gz` (or :file:`.zip`), unpack it, and---from the
:file:`foo-1.0` directory---run ::