@@ -80,7 +80,8 @@ In order of complexity:
80
80
81
81
* Finally, you can (but don't have to) use CFFI's **Distutils ** or
82
82
**Setuptools integration ** when writing a ``setup.py ``. For
83
- Distutils (only in out-of-line API mode):
83
+ Distutils (only in out-of-line API mode; deprecated since
84
+ Python 3.10):
84
85
85
86
.. code-block :: python
86
87
@@ -94,7 +95,7 @@ In order of complexity:
94
95
ext_modules = [foo_build.ffibuilder.distutils_extension()],
95
96
)
96
97
97
- For Setuptools (out-of-line, but works in ABI or API mode;
98
+ For Setuptools (out-of-line only , but works in ABI or API mode;
98
99
recommended):
99
100
100
101
.. code-block :: python
@@ -431,9 +432,9 @@ list of extra .c files compiled and linked together (the file
431
432
first argument to ``sources ``). See the distutils documentations for
432
433
`more information about the other arguments `__.
433
434
434
- .. __ : http ://docs.python.org/distutils/setupscript .html#library-options
435
- .. _distutils : http://docs.python.org/distutils/setupscript.html#describing-extension-modules
436
- .. _setuptools : https://pythonhosted.org/ setuptools/setuptools.html
435
+ .. __ : https ://setuptools.pypa.io/en/stable/userguide/ext_modules .html#building-extension-modules
436
+ .. _distutils : http://docs.python.org/3.11/ distutils/setupscript.html#describing-extension-modules
437
+ .. _setuptools : https://setuptools.pypa.io/
437
438
438
439
An extra keyword argument processed internally is
439
440
``source_extension ``, defaulting to ``".c" ``. The file generated will
0 commit comments