Skip to content

Commit 3f00b21

Browse files
committed
Update libmpdec-related instructions
* drop --with-system-libmpdec on macOS (default to yes since 3.13) * recommend deb.sury.org for Debian 12 and Ubuntu 24.04
1 parent 7800083 commit 3f00b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/setup-building.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ some of CPython's modules (for example, ``zlib``).
783783

784784
Note that Debian 12 and Ubuntu 24.04 do not have the ``libmpdec-dev`` package. You can safely
785785
remove it from the install list above and the Python build will use a bundled version.
786+
Alternatively, you can install this package from https://deb.sury.org/.
786787

787788
.. tab:: macOS
788789

@@ -823,7 +824,6 @@ some of CPython's modules (for example, ``zlib``).
823824
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
824825
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
825826
./configure --with-pydebug \
826-
--with-system-libmpdec \
827827
--with-openssl="$(brew --prefix openssl@3)"
828828

829829
.. tab:: Python 3.11-3.12

0 commit comments

Comments
 (0)