Skip to content

Commit c9bc6a5

Browse files
Commit
1 parent 6954077 commit c9bc6a5

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

Doc/using/configure.rst

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,52 @@ Features and minimum versions required to build CPython:
2222

2323
* Support for threads.
2424

25+
* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the
26+
:file:`configure` script.
27+
28+
To build optional modules:
29+
2530
* OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.18 is the recommended
2631
minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules.
2732

2833
* SQLite 3.15.2 for the :mod:`sqlite3` extension module.
2934

3035
* Tcl/Tk 8.5.12 for the :mod:`tkinter` module.
3136

37+
* ``libbz2`` for the :mod:`bz2` module.
38+
39+
* `libuuid <https://linux.die.net/man/3/libuuid>`_, for the :mod:`uuid` module.
40+
41+
* ``libncurses`` or ``libncursesw``,
42+
for the :mod:`curses` module.
43+
44+
* ``libpanel`` or ``libpanelw``,
45+
for the :mod:`curses.panel` module.
46+
3247
* `libmpdec <https://www.bytereef.org/mpdecimal/doc/libmpdec/>`_ 2.5.0
3348
for the :mod:`decimal` module.
3449

35-
* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the
36-
:file:`configure` script.
50+
* `libffi <https://sourceware.org/libffi/>`_ 3.3.0 is the recommended
51+
minimum version for the :mod:`ctypes` module.
52+
53+
* ``liblzma``, for the :mod:`lzma` module.
54+
55+
* `libedit <https://www.thrysoee.dk/editline/>`_ and
56+
`libreadline <https://tiswww.case.edu/php/chet/readline/rltop.html>`_
57+
for the :mod:`readline` module.
58+
59+
* `libb2 <https://github.com/BLAKE2/libb2>`_ (:ref:`BLAKE2 <hashlib-blake2>`),
60+
used by :mod:`hashlib` module.
61+
62+
* `zlib <https://www.zlib.net>`_ 1.1.4 is the reccomended minimum version for the
63+
:mod:`zlib` module.
64+
65+
* `zstd <https://facebook.github.io/zstd/>`_ 1.4.5 is the minimum version for
66+
the :mod:`compression.ztsd` module.
67+
68+
For a full list of dependencies required to build all modules and how to install
69+
them, see the
70+
`devguide <https://devguide.python.org/getting-started/setup-building/#install-dependencies>`_.
3771

3872
.. versionchanged:: 3.1
3973
Tcl/Tk version 8.3.1 is now required.

0 commit comments

Comments
 (0)