From 9468b8576bcf0c05e91d54fa877a7772d1de48c1 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Fri, 19 Apr 2024 13:02:48 -0700 Subject: [PATCH] build/pkgs/python3/SPKG.rst: Mention setuptools/distutils.core dep --- build/pkgs/python3/SPKG.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/pkgs/python3/SPKG.rst b/build/pkgs/python3/SPKG.rst index 55757b972e6..b102c79fbbb 100644 --- a/build/pkgs/python3/SPKG.rst +++ b/build/pkgs/python3/SPKG.rst @@ -15,6 +15,9 @@ You can also use ``--with-python=/path/to/python3_binary`` to tell Sage to use a number of Python modules to be available within the Python in question. Currently, as of Sage 10.3, these modules are as follows: ``sqlite3``, ``ctypes``, ``math``, ``hashlib``, ``socket``, ``zlib``, ``ssl``, ``ensurepip``. +For Python >= 3.12, also ``setuptools`` is required; for older Python versions, +``distutils.core`` is required. These modules will be checked for by the ``configure`` +script. Use the ``configure`` option ``--without-system-python3`` if you want Python 3 built from scratch.