From 290ecff61e8fce3fd6373d42d7f55ca642f58991 Mon Sep 17 00:00:00 2001 From: Benjamin Dornel Date: Tue, 3 Sep 2024 00:51:44 +0800 Subject: [PATCH] build(deps): add ocrmypdf as a system dependency --- .github/workflows/ci.yaml | 2 +- .github/workflows/publish.yaml | 2 +- .github/workflows/tests.yaml | 2 +- README.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3e5b5031..f9570d6f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -15,7 +15,7 @@ jobs: - name: Install pdftotext uses: daaku/gh-action-apt-install@v4 with: - packages: build-essential libpoppler-cpp-dev pkg-config + packages: build-essential libpoppler-cpp-dev pkg-config ocrmypdf - name: Setup Python & Poetry uses: ./.github/actions/setup-python-poetry diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 4416043d..c2cdcd63 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -23,7 +23,7 @@ jobs: - name: Install pdftotext uses: daaku/gh-action-apt-install@v4 with: - packages: build-essential libpoppler-cpp-dev pkg-config + packages: build-essential libpoppler-cpp-dev pkg-config ocrmypdf - name: Setup Python & Poetry uses: ./.github/actions/setup-python-poetry diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index eae5b6d9..42b3a232 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -15,7 +15,7 @@ jobs: - name: Install pdftotext uses: daaku/gh-action-apt-install@v4 with: - packages: build-essential libpoppler-cpp-dev pkg-config + packages: build-essential libpoppler-cpp-dev pkg-config ocrmypdf - name: Setup Python & Poetry uses: ./.github/actions/setup-python-poetry diff --git a/README.md b/README.md index 75df55d0..496ea002 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,13 @@ Monopoly is a pip-installable Python package on [PyPI](https://pypi.org/project/ Since Monopoly uses `pdftotext`, you'll need to install additional dependencies: ```sh -apt-get install build-essential libpoppler-cpp-dev pkg-config +apt-get install build-essential libpoppler-cpp-dev pkg-config ocrmypdf ``` or ```sh -brew install gcc@11 pkg-config poppler +brew install gcc@11 pkg-config poppler ocrmypdf ``` Then install with pipx: