@@ -145,7 +145,7 @@ checks that one should not skip.
145
145
146
146
.. _unix-compiling :
147
147
148
- UNIX
148
+ Unix
149
149
----
150
150
151
151
The core CPython interpreter only needs a C compiler to be built,
@@ -334,7 +334,7 @@ extensions are already included and built automatically.
334
334
Linux
335
335
-----
336
336
337
- For UNIX based systems, we try to use system libraries whenever available.
337
+ For Unix- based systems, we try to use system libraries whenever available.
338
338
This means optional components will only build if the relevant system headers
339
339
are available. The best way to obtain the appropriate headers will vary by
340
340
distribution, but the appropriate commands for some popular distributions
@@ -385,12 +385,13 @@ their dependencies::
385
385
lzma lzma-dev tk-dev uuid-dev zlib1g-dev
386
386
387
387
388
+ .. _macOS and OS X :
388
389
.. _macOS :
389
390
390
- macOS and OS X
391
- --------------
391
+ macOS
392
+ -----
392
393
393
- For **macOS systems ** (versions 10.12+) and ** OS X 10.9 and later ** ,
394
+ For **macOS systems ** (versions 10.9+) ,
394
395
the Developer Tools can be downloaded and installed automatically;
395
396
you do not need to download the complete Xcode application.
396
397
@@ -401,21 +402,11 @@ If necessary, run the following::
401
402
This will also ensure that the system header files are installed into
402
403
``/usr/include ``.
403
404
404
- On **Mac OS X systems ** (versions 10.0 - 10.7) and **OS X 10.8 **, use the C
405
- compiler and other development utilities provided by Apple's Xcode Developer
406
- Tools. The Developer Tools are not shipped with Mac OS X.
407
-
408
- For these **older releases (versions 10.0 - 10.8) **, you will need to download either the
409
- correct version of the Command Line Tools, if available, or install them from the
410
- full Xcode app or package for that OS X release. Older versions may be
411
- available either as a no-cost download through Apple's App Store or from
412
- `the Apple Developer web site <https://developer.apple.com/ >`_.
413
-
414
405
.. _Homebrew : https://brew.sh
415
406
416
407
.. _MacPorts : https://www.macports.org
417
408
418
- Also note that OS X does not include several libraries used by the Python
409
+ Also note that macOS does not include several libraries used by the Python
419
410
standard library, including ``libzma ``, so expect to see some extension module
420
411
build failures unless you install local copies of them. As of OS X 10.11,
421
412
Apple no longer provides header files for the deprecated system version of
@@ -466,10 +457,10 @@ and ``make``::
466
457
$ make -s -j2
467
458
468
459
There will sometimes be optional modules added for a new release which
469
- won't yet be identified in the OS level build dependencies. In those cases,
460
+ won't yet be identified in the OS- level build dependencies. In those cases,
470
461
just ask for assistance on the core-mentorship list.
471
462
472
- Explaining how to build optional dependencies on a UNIX based system without
463
+ Explaining how to build optional dependencies on a Unix- based system without
473
464
root access is beyond the scope of this guide.
474
465
475
466
For more details on various options and considerations for building, refer
0 commit comments