Skip to content

Commit

Permalink
build(deps): add ocrmypdf as a system dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-awd committed Sep 2, 2024
1 parent 6fddf74 commit 962c73b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 962c73b

Please sign in to comment.