Skip to content

Commit 5418b68

Browse files
committed
Promote 3.11+ tab
1 parent 6642c81 commit 5418b68

1 file changed

Lines changed: 11 additions & 16 deletions

File tree

‎getting-started/setup-building.rst‎

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -882,31 +882,26 @@ some of CPython's modules (for example, ``zlib``).
882882

883883
$ brew bundle --file=Misc/Brewfile
884884

885-
.. tab:: Python 3.11+
885+
Then configure::
886886

887-
For Python 3.11 and newer::
888-
889-
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
890-
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
891-
./configure --config-cache \
892-
--with-pydebug \
893-
--with-openssl="$(brew --prefix openssl@3)"
887+
$ GDBM_CFLAGS="-I$(brew --prefix gdbm)/include" \
888+
GDBM_LIBS="-L$(brew --prefix gdbm)/lib -lgdbm" \
889+
./configure --config-cache \
890+
--with-pydebug \
891+
--with-openssl="$(brew --prefix openssl@3)"
894892

895893
.. tab:: MacPorts
896894

897895
For **MacPorts**, install dependencies using ``port``::
898896

899897
$ sudo port install pkgconfig openssl xz gdbm tk +quartz mpdecimal zstd
900898

901-
.. tab:: Python 3.11+
902-
903-
For Python 3.11 and newer::
904-
905-
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
906-
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
907-
./configure --config-cache \
908-
--with-pydebug
899+
Then configure::
909900

901+
$ GDBM_CFLAGS="-I$(dirname $(dirname $(which port)))/include" \
902+
GDBM_LIBS="-L$(dirname $(dirname $(which port)))/lib -lgdbm" \
903+
./configure --config-cache \
904+
--with-pydebug
910905

911906
And finally, run ``make``::
912907

0 commit comments

Comments
 (0)