From: Éric Araujo Date: Fri, 10 Feb 2012 04:31:28 +0000 (+0100) Subject: distutils 2.7’s Extension does not support optional (#13865). X-Git-Tag: v2.7.3rc1~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ad7f7f31aa6827e90e974f9bc8edce2ea48c84b;p=python distutils 2.7’s Extension does not support optional (#13865). Reported by Miki Tebeka. --- diff --git a/Doc/distutils/apiref.rst b/Doc/distutils/apiref.rst index c394eee8ea..692d5cf60b 100644 --- a/Doc/distutils/apiref.rst +++ b/Doc/distutils/apiref.rst @@ -261,11 +261,6 @@ the full reference. | | from the source extensions if | | | | not provided. | | +------------------------+--------------------------------+---------------------------+ - | *optional* | specifies that a build failure | a boolean | - | | in the extension should not | | - | | abort the build process, but | | - | | simply skip the extension. | | - +------------------------+--------------------------------+---------------------------+ .. class:: Distribution diff --git a/Doc/distutils/setupscript.rst b/Doc/distutils/setupscript.rst index cce78b03cd..165bfcd716 100644 --- a/Doc/distutils/setupscript.rst +++ b/Doc/distutils/setupscript.rst @@ -334,10 +334,6 @@ Other options There are still some other options which can be used to handle special cases. -The :option:`optional` option is a boolean; if it is true, -a build failure in the extension will not abort the build process, but -instead simply not install the failing extension. - The :option:`extra_objects` option is a list of object files to be passed to the linker. These files must not have extensions, as the default extension for the compiler is used.