diff options
| author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-10-16 01:14:51 +0200 |
|---|---|---|
| committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-10-16 02:16:12 +0200 |
| commit | edfa441febf6c5d8af8973ce952b3a0c19b7b575 (patch) | |
| tree | b28e099e3fe17d6c9607608d9d79dc96eb5305a2 /docs/userguide/extension.rst | |
| parent | b170eac3e00f65c3d56d48d5aa8ee18f00a7baf9 (diff) | |
| download | python-setuptools-git-edfa441febf6c5d8af8973ce952b3a0c19b7b575.tar.gz | |
📝 Recover interdoc links & correct broken syntax
Diffstat (limited to 'docs/userguide/extension.rst')
| -rw-r--r-- | docs/userguide/extension.rst | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/docs/userguide/extension.rst b/docs/userguide/extension.rst index 1e4846fc..4de24ec9 100644 --- a/docs/userguide/extension.rst +++ b/docs/userguide/extension.rst @@ -1,3 +1,5 @@ +.. _Creating ``distutils`` Extensions: + Creating ``distutils`` Extensions ================================= @@ -9,8 +11,8 @@ the extension just refer to it in their ``setup_requires`` argument. With ``setuptools``, your distutils extension projects can hook in new commands and ``setup()`` arguments just by defining "entry points". These are mappings from command or argument names to a specification of where to -import a handler from. (See the section on `Dynamic Discovery of Services and -Plugins`_ above for some more background on entry points.) +import a handler from. (See the section on :ref:`Dynamic Discovery of +Services and Plugins` above for some more background on entry points.) Adding Commands @@ -120,6 +122,8 @@ plugin is encouraged to load the configuration/settings for their behavior independently. +.. _Adding new EGG-INFO Files: + Adding new EGG-INFO Files ------------------------- @@ -173,6 +177,9 @@ the ``cmd`` object's ``write_file()``, ``delete_file()``, and ``write_or_delete_file()`` methods exclusively for your file operations. See those methods' docstrings for more details. + +.. _Adding Support for Revision Control Systems: + Adding Support for Revision Control Systems ------------------------------------------------- @@ -232,4 +239,4 @@ A few important points for writing revision control file finders: * Your finder function SHOULD NOT raise any errors, and SHOULD deal gracefully with the absence of needed programs (i.e., ones belonging to the revision control system itself. It *may*, however, use ``distutils.log.warn()`` to - inform the user of the missing program(s).
\ No newline at end of file + inform the user of the missing program(s). |
