Renamed "Mac OS X" to "macOS" in docs.

This commit is contained in:
Michiel Beijen 2017-04-23 22:06:12 +02:00 committed by Tim Graham
parent 9f2e8b5bb7
commit 5e8625ba64
11 changed files with 41 additions and 44 deletions

View file

@ -34,8 +34,8 @@ features include:
may be used outside of a Django project/application. In other words,
no need to have ``DJANGO_SETTINGS_MODULE`` set or use a database, etc.
* Mutability: :class:`GEOSGeometry` objects may be modified.
* Cross-platform and tested; compatible with Windows, Linux, Solaris, and Mac
OS X platforms.
* Cross-platform and tested; compatible with Windows, Linux, Solaris, and
macOS platforms.
.. _geos-tutorial:

View file

@ -65,7 +65,7 @@ Optional packages to consider:
* ``libgeoip1``: for :doc:`GeoIP <../geoip2>` support
* ``python-gdal`` for GDAL's own Python bindings -- includes interfaces for raster manipulation
Please also consult platform-specific instructions if you are on :ref:`macosx`
Please also consult platform-specific instructions if you are on :ref:`macos`
or :ref:`windows`.
.. _build_from_source:
@ -88,11 +88,9 @@ is required.
.. note::
OS X users are required to install `Apple Developer Tools`_ in order
to compile software from source. This is typically included on your
OS X installation DVDs.
macOS users must install `Xcode`_ in order to compile software from source.
.. _Apple Developer Tools: https://developer.apple.com/technologies/tools/
.. _Xcode: https://developer.apple.com/xcode/
.. _geosbuild:

View file

@ -16,7 +16,7 @@ Details for each of the requirements and installation instructions
are provided in the sections below. In addition, platform-specific
instructions are available for:
* :ref:`macosx`
* :ref:`macos`
* :ref:`windows`
.. admonition:: Use the Source
@ -181,12 +181,12 @@ Similarly, on Red Hat and CentOS systems::
Platform-specific instructions
==============================
.. _macosx:
.. _macos:
Mac OS X
--------
macOS
-----
Because of the variety of packaging systems available for OS X, users have
Because of the variety of packaging systems available for macOS, users have
several different options for installing GeoDjango. These options are:
* :ref:`postgresapp` (easiest and recommended)
@ -197,17 +197,17 @@ several different options for installing GeoDjango. These options are:
* :ref:`build_from_source`
This section also includes instructions for installing an upgraded version
of :ref:`macosx_python` from packages provided by the Python Software
of :ref:`macos_python` from packages provided by the Python Software
Foundation, however, this is not required.
.. _macosx_python:
.. _macos_python:
Python
~~~~~~
Although OS X comes with Python installed, users can use `framework
Although macOS comes with Python installed, users can use `framework
installers`__ provided by the Python Software Foundation. An advantage to
using the installer is that OS X's Python will remain "pristine" for internal
using the installer is that macOS's Python will remain "pristine" for internal
operating system use.
__ https://www.python.org/ftp/python/
@ -247,8 +247,8 @@ Homebrew
`Homebrew`__ provides "recipes" for building binaries and packages from source.
It provides recipes for the GeoDjango prerequisites on Macintosh computers
running OS X. Because Homebrew still builds the software from source, the
`Apple Developer Tools`_ are required.
running macOS. Because Homebrew still builds the software from source, `Xcode`_
is required.
Summary::
@ -258,7 +258,7 @@ Summary::
$ brew install libgeoip
__ http://brew.sh/
.. _Apple Developer Tools: https://developer.apple.com/technologies/tools/
.. _Xcode: https://developer.apple.com/xcode/
.. _kyngchaos:
@ -266,14 +266,13 @@ KyngChaos packages
~~~~~~~~~~~~~~~~~~
William Kyngesburye provides a number of `geospatial library binary packages`__
that make it simple to get GeoDjango installed on OS X without compiling
them from source. However, the `Apple Developer Tools`_ are still necessary
for compiling the Python database adapters :ref:`psycopg2_kyngchaos` (for
PostGIS).
that make it simple to get GeoDjango installed on macOS without compiling
them from source. However, `Xcode`_ is still necessary for compiling the
Python database adapters :ref:`psycopg2_kyngchaos` (for PostGIS).
.. note::
SpatiaLite users should consult the :ref:`spatialite_macosx` section
SpatiaLite users should consult the :ref:`spatialite_macos` section
after installing the packages for additional instructions.
Download the framework packages for:
@ -336,9 +335,9 @@ __ http://pdb.finkproject.org/pdb/browse.php?summary=django-gis
MacPorts
~~~~~~~~
`MacPorts`__ may be used to install GeoDjango prerequisites on Macintosh
computers running OS X. Because MacPorts still builds the software from source,
the `Apple Developer Tools`_ are required.
`MacPorts`__ may be used to install GeoDjango prerequisites on computers
running macOS. Because MacPorts still builds the software from source,
`Xcode`_ is required.
Summary::

View file

@ -14,7 +14,7 @@ On Debian/Ubuntu, you are advised to install the following packages:
postgresql-x.x, postgresql-x.x-postgis, postgresql-server-dev-x.x,
python-psycopg2 (x.x matching the PostgreSQL version you want to install).
Alternately, you can `build from source`_. Consult the platform-specific
instructions if you are on :ref:`macosx` or :ref:`windows`.
instructions if you are on :ref:`macos` or :ref:`windows`.
.. _PostGIS: https://postgis.net/
.. _psycopg2: http://initd.org/psycopg/

View file

@ -11,7 +11,7 @@ For example, on Debian-based distributions, try to install the
``spatialite-bin`` package. For distributions that package SpatiaLite 4.2+,
install ``libsqlite3-mod-spatialite``.
For Mac OS X, follow the :ref:`instructions below<spatialite_macosx>`.
For macOS, follow the :ref:`instructions below<spatialite_macos>`.
For Windows, you may find binaries on the `Gaia-SINS`__ home page.
@ -81,19 +81,19 @@ Get the latest SpatiaLite library source bundle from the
.. note::
For Mac OS X users building from source, the SpatiaLite library *and* tools
For macOS users building from source, the SpatiaLite library *and* tools
need to have their ``target`` configured::
$ ./configure --target=macosx
__ https://www.gaia-gis.it/gaia-sins/libspatialite-sources/
.. _spatialite_macosx:
.. _spatialite_macos:
Mac OS X-specific instructions
macOS-specific instructions
==============================
To install the SpatiaLite library and tools, Mac OS X users can choose between
To install the SpatiaLite library and tools, macOS users can choose between
:ref:`kyngchaos` and `Homebrew`_.
KyngChaos
@ -103,7 +103,7 @@ First, follow the instructions in the :ref:`kyngchaos` section.
When creating a SpatiaLite database, the ``spatialite`` program is required.
However, instead of attempting to compile the SpatiaLite tools from source,
download the `SpatiaLite Binaries`__ for OS X, and install ``spatialite`` in a
download the `SpatiaLite Binaries`__ for macOS, and install ``spatialite`` in a
location available in your ``PATH``. For example::
$ curl -O https://www.gaia-gis.it/spatialite/spatialite-tools-osx-x86-2.3.1.tar.gz