8000 Update instructions for building on macOS by cesarcoatl · Pull Request #1052 · python/devguide · GitHub
[go: up one dir, main page]

Skip to content

Update instructions for building on macOS #1052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update following text to match revised macOS building language
  • Loading branch information
CAM-Gerlach authored and César Román committed Feb 16, 2023
commit d6bb8e0a1ae3b3bf382e62e64b9ea05907b8e081
6 changes: 3 additions & 3 deletions getting-started/setup-building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ For example, with **Homebrew**, install the dependencies::

$ brew install pkg-config openssl@1.1 xz gdbm tcl-tk

Then, for Python 3.10 and newer::
Then, for Python 3.10 and newer, run ``configure``::

$ CFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
LDFLAGS="-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" \
Expand All @@ -438,11 +438,11 @@ Or, for Python 3.7 through 3.9::
--with-tcltk-libs="$(pkg-config --libs tcl tk)" \
--with-tcltk-includes="$(pkg-config --cflags tcl tk)"

and ``make``::
And finally, run ``make``::

$ make -s -j2

or **MacPorts**::
Alternatively, with **MacPorts**::

$ sudo port install pkgconfig openssl xz gdbm

Expand Down
0