summaryrefslogtreecommitdiff
path: root/docs/userguide/extension.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/userguide/extension.rst')
-rw-r--r--docs/userguide/extension.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/userguide/extension.rst b/docs/userguide/extension.rst
index 93b59501..d74ca3fe 100644
--- a/docs/userguide/extension.rst
+++ b/docs/userguide/extension.rst
@@ -45,6 +45,14 @@ entry points in the active distributions on ``sys.path``. In fact, this is
how setuptools' own commands are installed: the setuptools project's setup
script defines entry points for them!
+.. note::
+ When creating commands, and specially when defining custom ways of building
+ compiled extensions (for example via ``build_ext``), consider
+ handling exceptions such as ``CompileError``, ``LinkError``, ``LibError``,
+ among others. These exceptions are available in the ``setuptools.errors``
+ module.
+
+
Adding ``setup()`` Arguments
----------------------------