Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5c6a0c1

Browse filesBrowse files
Update deps and build instructions wrt. libmpdecimal (#1313)
1 parent b9eda58 commit 5c6a0c1
Copy full SHA for 5c6a0c1

File tree

Expand file treeCollapse file tree

1 file changed

+20
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+20
-5
lines changed

‎getting-started/setup-building.rst

Copy file name to clipboardExpand all lines: getting-started/setup-building.rst
+20-5Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ on Linux, macOS and iOS.
661661
$ sudo apt-get install build-essential gdb lcov pkg-config \
662662
libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \
663663
libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \
664-
lzma lzma-dev tk-dev uuid-dev zlib1g-dev
664+
lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev
665665

666666

667667
.. tab:: macOS
@@ -692,9 +692,17 @@ on Linux, macOS and iOS.
692692

693693
For example, with **Homebrew**, install the dependencies::
694694

695-
$ brew install pkg-config openssl@3.0 xz gdbm tcl-tk
695+
$ brew install pkg-config openssl@3.0 xz gdbm tcl-tk mpdecimal
696696

697-
Then, for Python 3.11 and newer, run ``configure``::
697+
Then, for Python 3.13 and newer, run ``configure``::
698+
699+
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
700+
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
701+
./configure --with-pydebug \
702+
--with-system-libmpdec \
703+
--with-openssl="$(brew --prefix openssl@3.0)"
704+
705+
For Python 3.11 and 3.12::
698706

699707
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
700708
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
@@ -716,9 +724,16 @@ on Linux, macOS and iOS.
716724

717725
Alternatively, with **MacPorts**::
718726

719-
$ sudo port install pkgconfig openssl xz gdbm tcl tk +quartz
727+
$ sudo port install pkgconfig openssl xz gdbm tcl tk +quartz mpdecimal
728+
729+
Then, for Python 3.13 and newer, run ``configure``::
730+
731+
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
732+
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
733+
./configure --with-pydebug \
734+
--with-system-libmpdec
720735

721-
Then, for Python 3.11 and newer, run ``configure``::
736+
Or, for Python 3.11 and 3.12, run ``configure``::
722737

723738
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
724739
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.