diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-08-06 19:27:26 +0100 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-08-06 19:39:55 +0100 |
commit | d138ec08efc2dbaebb8752e215e324f38bd807a2 (patch) | |
tree | fc1cc58fa5f21646280f34f7289bea17d9270915 | |
parent | 33fe15c322605b570187724760e3cd08519e8297 (diff) | |
download | python-setuptools-git-d138ec08efc2dbaebb8752e215e324f38bd807a2.tar.gz |
docs: Silence sphinx errors for reference it cannot find
-rw-r--r-- | docs/conf.py | 1 | ||||
-rw-r--r-- | setuptools/extension.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/conf.py b/docs/conf.py index 9a4e33b7..2b60bf57 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -186,6 +186,7 @@ nitpick_ignore = [ ('py:exc', 'LibError'), # undocumented ('py:exc', 'LinkError'), # undocumented ('py:exc', 'PreprocessError'), # undocumented + ('py:exc', 'setuptools.errors.PlatformError'), # sphinx cannot find it ('py:func', 'distutils.CCompiler.new_compiler'), # undocumented # undocumented: ('py:func', 'distutils.dist.DistributionMetadata.read_pkg_file'), diff --git a/setuptools/extension.py b/setuptools/extension.py index 9010dec8..f2bbd59d 100644 --- a/setuptools/extension.py +++ b/setuptools/extension.py @@ -116,8 +116,8 @@ class Extension(_Extension): specifies that a build failure in the extension should not abort the build process, but simply not install the failing extension. - :raises DistutilsPlatformError: if 'runtime_library_dirs' is specified - on Windows. (since v63) + :raises setuptools.errors.PlatformError: if 'runtime_library_dirs' is + specified on Windows. (since v63) """ def __init__(self, name, sources, *args, **kw): |