summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/classes.rst22
1 files changed, 20 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 949217bf42..56d2d4538a 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -2386,8 +2386,26 @@ the Simple DirectMedia Layer (SDL) library.
2386======================= 2386=======================
2387 2387
2388The ``setuptools3`` class supports Python version 3.x extensions that 2388The ``setuptools3`` class supports Python version 3.x extensions that
2389use build systems based on ``setuptools``. If your recipe uses these 2389use build systems based on ``setuptools`` (e.g. only have a ``setup.py`` and
2390build systems, the recipe needs to inherit the ``setuptools3`` class. 2390have not migrated to the official ``pyproject.toml`` format). If your recipe
2391uses these build systems, the recipe needs to inherit the ``setuptools3`` class.
2392
2393 .. note::
2394
2395 The ``setuptools3`` class ``do_compile()`` task now calls
2396 ``setup.py bdist_wheel`` to build the ``wheel`` binary archive format
2397 (See `PEP-427 <https://www.python.org/dev/peps/pep-0427/>`__).
2398
2399 A consequence of this is that legacy software still using deprecated
2400 ``distutils`` from the Python standard library cannot be packaged as
2401 ``wheels``. A common solution is the replace
2402 ``from distutils.core import setup`` with ``from setuptools import setup``.
2403
2404 .. note::
2405
2406 The ``setuptools3`` class ``do_install()`` task now calls ``pip install``
2407 to install the ``wheel`` binary archive. In current versions of
2408 ``setuptools`` the legacy ``setup.py install`` method is deprecated.
2391 2409
2392.. _ref-classes-setuptools3-base: 2410.. _ref-classes-setuptools3-base:
2393 2411