Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dead setuptools links #22

Merged
merged 3 commits into from
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions doc/source/cdef.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ In order of complexity:

* Finally, you can (but don't have to) use CFFI's **Distutils** or
**Setuptools integration** when writing a ``setup.py``. For
Distutils (only in out-of-line API mode):
Distutils (only in out-of-line API mode; deprecated since
Python 3.10):

.. code-block:: python

Expand All @@ -94,7 +95,7 @@ In order of complexity:
ext_modules=[foo_build.ffibuilder.distutils_extension()],
)

For Setuptools (out-of-line, but works in ABI or API mode;
For Setuptools (out-of-line only, but works in ABI or API mode;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Correct me if I'm wrong here.)

recommended):

.. code-block:: python
Expand Down Expand Up @@ -431,9 +432,9 @@ list of extra .c files compiled and linked together (the file
first argument to ``sources``). See the distutils documentations for
`more information about the other arguments`__.

.. __: http://docs.python.org/distutils/setupscript.html#library-options
.. _distutils: http://docs.python.org/distutils/setupscript.html#describing-extension-modules
.. _setuptools: https://pythonhosted.org/setuptools/setuptools.html
.. __: https://setuptools.pypa.io/en/stable/userguide/ext_modules.html#building-extension-modules
.. _distutils: http://docs.python.org/3.11/distutils/setupscript.html#describing-extension-modules
.. _setuptools: https://setuptools.pypa.io/

An extra keyword argument processed internally is
``source_extension``, defaulting to ``".c"``. The file generated will
Expand Down
Loading