From eb036898e9e3710700607b9f5fcf87c70588f87e Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 13 Mar 2017 22:25:25 -0700 Subject: [PATCH] Update documentation with macOS homebrew tap [ci skip] --- README.rst | 12 +++++++++++- docs/installation.rst | 16 ++++++++++++++-- 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index a15bfd4d..2ed58590 100644 --- a/README.rst +++ b/README.rst @@ -60,7 +60,17 @@ Installation Linux, UNIX, and macOS are supported. Windows is not directly supported but there is a Docker image available that runs on Windows. Users of Debian 9 or later or Ubuntu 16.10 or later may simply -``apt-get install ocrmypdf``. + +.. code-block:: bash + + apt-get install ocrmypdf + +and macOS users may simply + +.. code-block:: bash + + brew tap jbarlow83/ocrmypdf + brew install ocrmypdf For everyone else, `see our documentation `_ for installation steps. diff --git a/docs/installation.rst b/docs/installation.rst index 1f04db1f..34acddb3 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -10,6 +10,18 @@ Users of Debian 9 ("stretch") or later or Ubuntu 16.10 or later may simply apt-get install ocrmypdf + +Installing on macOS +------------------- + +.. code-block:: bash + + brew tap jbarlow83/ocrmypdf + brew install ocrmypdf + + +Users who previously installed OCRmyPDF on macOS may need to remove the ``pip`` based installation (``pip3 uninstall ocrmypdf``). + .. _Docker: Installing the Docker image @@ -103,8 +115,8 @@ Or in the wonderful `fish shell `_: funcsave ocrmypdf -Installing on macOS -------------------- +Manual installation on macOS +---------------------------- These instructions probably work on all macOS supported by Homebrew.