From 8370d9a36c76d8f2477a592e24fe5be66543fd65 Mon Sep 17 00:00:00 2001 From: izumiberat Date: Fri, 10 Jun 2022 22:46:36 +0200 Subject: [PATCH 1/6] Updating brew install command to build _tkinter I am using Mac OS Catalina 10.15.7. This is to avoid getting the following message: > The necessary bits to build these optional modules were not found: > _tkinter --- setup.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.rst b/setup.rst index 385429a63..99f758da3 100644 --- a/setup.rst +++ b/setup.rst @@ -385,10 +385,11 @@ for the header and library files to your ``configure`` command. For example, with **Homebrew**:: - $ brew install openssl xz gdbm + $ brew install openssl xz gdbm tcl-tk and ``configure`` Python versions >= 3.7:: + PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) or ``configure`` Python versions < 3.7:: From be11f75fc86605636271576fb204c509783e3248 Mon Sep 17 00:00:00 2001 From: izumiberat Date: Sat, 11 Jun 2022 11:01:58 +0200 Subject: [PATCH 2/6] removing trailing space --- setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.rst b/setup.rst index 99f758da3..79eaf32c5 100644 --- a/setup.rst +++ b/setup.rst @@ -389,7 +389,7 @@ with **Homebrew**:: and ``configure`` Python versions >= 3.7:: - PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" + PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) or ``configure`` Python versions < 3.7:: From c24409b5100e838833fa1188dd96f24d32822b07 Mon Sep 17 00:00:00 2001 From: izumiberat Date: Sun, 12 Jun 2022 17:33:30 +0200 Subject: [PATCH 3/6] Resolving conflict with main branch --- setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.rst b/setup.rst index 79eaf32c5..957cd079a 100644 --- a/setup.rst +++ b/setup.rst @@ -385,7 +385,7 @@ for the header and library files to your ``configure`` command. For example, with **Homebrew**:: - $ brew install openssl xz gdbm tcl-tk + $ brew install pkg-config openssl xz gdbm tcl-tk and ``configure`` Python versions >= 3.7:: From 54e889b98fbce26d57c25699e26ce6cc9f1e07d4 Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Mon, 13 Jun 2022 13:08:26 +0200 Subject: [PATCH 4/6] Update setup.rst Verified on: - 3.12 - 3.11 - 3.10 - 3.9 - 3.8 - 3.7 --- setup.rst | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/setup.rst b/setup.rst index 957cd079a..e4f391f3a 100644 --- a/setup.rst +++ b/setup.rst @@ -387,16 +387,27 @@ with **Homebrew**:: $ brew install pkg-config openssl xz gdbm tcl-tk -and ``configure`` Python versions >= 3.7:: +For Python 3.11 and newer:: - PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" - ./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.10 through 3.7:: + $ 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)" + +For Python versions 3.6 and older:: + + $ export PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" $ CPPFLAGS="-I$(brew --prefix openssl)/include" \ LDFLAGS="-L$(brew --prefix openssl)/lib" \ - ./configure --with-pydebug + ./configure --with-pydebug \ + --with-tcltk-libs="$(pkg-config --libs tcl tk)" \ + --with-tcltk-includes="$(pkg-config --cflags tcl tk)" and ``make``:: From cdde277e166cc21c0e4fbf69209c1aba7d41e018 Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Mon, 13 Jun 2022 18:29:24 +0200 Subject: [PATCH 5/6] Update setup.rst --- setup.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.rst b/setup.rst index e4f391f3a..51703156b 100644 --- a/setup.rst +++ b/setup.rst @@ -387,12 +387,12 @@ with **Homebrew**:: $ brew install pkg-config openssl xz gdbm tcl-tk -For Python 3.11 and newer:: +For Python 3.10 and newer:: $ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \ ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) -For Python versions 3.10 through 3.7:: +For Python versions 3.9 through 3.7:: $ export PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" $ ./configure --with-pydebug \ From 22851c5fbf4271460f6acd82c9f7cea24d119712 Mon Sep 17 00:00:00 2001 From: Erlend Egeberg Aasland Date: Mon, 13 Jun 2022 19:32:51 +0200 Subject: [PATCH 6/6] Remove instructions for 3.6 and older --- setup.rst | 9 --------- 1 file changed, 9 deletions(-) diff --git a/setup.rst b/setup.rst index 51703156b..32dcfec2a 100644 --- a/setup.rst +++ b/setup.rst @@ -400,15 +400,6 @@ For Python versions 3.9 through 3.7:: --with-tcltk-libs="$(pkg-config --libs tcl tk)" \ --with-tcltk-includes="$(pkg-config --cflags tcl tk)" -For Python versions 3.6 and older:: - - $ export PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" - $ CPPFLAGS="-I$(brew --prefix openssl)/include" \ - LDFLAGS="-L$(brew --prefix openssl)/lib" \ - ./configure --with-pydebug \ - --with-tcltk-libs="$(pkg-config --libs tcl tk)" \ - --with-tcltk-includes="$(pkg-config --cflags tcl tk)" - and ``make``:: $ make -s -j2 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

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:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy