Readmes and version updates

This commit is contained in:
Jake Poznanski 2025-01-27 18:41:13 +00:00
parent b2894d0280
commit d8c13d05f6
3 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
.PHONY : docs .PHONY : docs
docs : docs :
rm -rf docs/build/ rm -rf docs/build/
sphinx-autobuild -b html --watch pdelfin/ docs/source/ docs/build/ sphinx-autobuild -b html --watch olmocr/ docs/source/ docs/build/
.PHONY : run-checks .PHONY : run-checks
run-checks : run-checks :
@ -9,7 +9,7 @@ run-checks :
black --check . black --check .
ruff check . ruff check .
mypy . mypy .
CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ pdelfin/ CUDA_VISIBLE_DEVICES='' pytest -v --color=yes --doctest-modules tests/ olmocr/
.PHONY : build .PHONY : build
build : build :

View File

@ -29,10 +29,6 @@ cd olmocr
pip install -e . pip install -e .
``` ```
You will also need to install the latest pypdf, which contains some fixes regarding processing PDF documents. Hopefully soon it will be included in the next full release.
```bash
pip install git+https://github.com/py-pdf/pypdf.git@9e0fce7b9810d3e09e2af66481ea3429c42e0d11
```
### Beaker Usage ### Beaker Usage

View File

@ -21,7 +21,7 @@ requires-python = ">=3.8"
dependencies = [ dependencies = [
"cached-path", "cached-path",
"smart_open", "smart_open",
"pypdf>=5.1.0", "pypdf>=5.2.0",
"pymupdf", "pymupdf",
"pypdfium2", "pypdfium2",
"cryptography", "cryptography",