diff --git a/setup.rst b/setup.rst index a775f30ec..32dcfec2a 100644 --- a/setup.rst +++ b/setup.rst @@ -385,17 +385,20 @@ for the header and library files to your ``configure`` command. For example, with **Homebrew**:: - $ brew install pkg-config openssl xz gdbm + $ brew install pkg-config openssl xz gdbm tcl-tk -and ``configure`` Python versions >= 3.7:: +For Python 3.10 and newer:: - ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) + $ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \ + ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) -or ``configure`` Python versions < 3.7:: +For Python versions 3.9 through 3.7:: - $ CPPFLAGS="-I$(brew --prefix openssl)/include" \ - LDFLAGS="-L$(brew --prefix openssl)/lib" \ - ./configure --with-pydebug + $ export PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" + $ ./configure --with-pydebug \ + --with-openssl=$(brew --prefix openssl) \ + --with-tcltk-libs="$(pkg-config --libs tcl tk)" \ + --with-tcltk-includes="$(pkg-config --cflags tcl tk)" and ``make``::
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: