Skip to content

Commit 77e9d18

Browse files
skirpichevhugovk
andauthored
Update libmpdec-related instructions (#1598)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 1199ca3 commit 77e9d18

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

getting-started/setup-building.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -781,8 +781,12 @@ some of CPython's modules (for example, ``zlib``).
781781
libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \
782782
lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev libzstd-dev
783783

784-
Note that Debian 12 and Ubuntu 24.04 do not have the ``libmpdec-dev`` package. You can safely
785-
remove it from the install list above and the Python build will use a bundled version.
784+
Note that Debian 12 and Ubuntu 24.04 do not have the ``libmpdec-dev``
785+
package. You can safely remove it from the install list above and the
786+
Python build will use a bundled version. But we recommend using the system
787+
`libmpdec <https://www.bytereef.org/mpdecimal/doc/libmpdec/>`_ library.
788+
Either built it from sources or install this package from
789+
https://deb.sury.org.
786790

787791
.. tab:: macOS
788792

@@ -823,7 +827,6 @@ some of CPython's modules (for example, ``zlib``).
823827
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
824828
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
825829
./configure --with-pydebug \
826-
--with-system-libmpdec \
827830
--with-openssl="$(brew --prefix openssl@3)"
828831

829832
.. tab:: Python 3.11-3.12

0 commit comments

Comments
 (0)