Skip to content

Commit

Permalink
refactor: install pdftotext dependencies with apt
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Dornel committed Nov 19, 2023
1 parent 30b9cc2 commit ddaba1a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
brew "git-crypt"
brew "pre-commit"
brew "make"
brew "gcc@11"
brew "poetry"
brew "pyenv"
brew "pyenv-virtualenv"
brew "pre-commit"
brew "make"
brew "john-jumbo"
brew "pkg-config"
brew "poppler"
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
setup:
# install brew dependencies
brew bundle

# install pdftotext dependencies
sudo apt-get update && sudo apt install build-essential libpoppler-cpp-dev pkg-config -y

# install poetry dependencies
poetry install
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,9 @@ Install dependencies using [Homebrew](https://brew.sh/)
brew bundle
```

Create a virtual environment and install Python dependencies
Install python dependencies
```bash
pyenv virtualenv 3.11.4 monopoly
pyenv shell monopoly
poetry install
make install
```

## Usage
Expand Down

0 comments on commit ddaba1a

Please sign in to comment.