Skip to content

Commit

Permalink
move 2 libs to full install
Browse files Browse the repository at this point in the history
  • Loading branch information
BBC-Esq committed Sep 22, 2024
1 parent ee94673 commit 9e8dc8e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,14 @@ def install_libraries_with_deps(libraries):
return failed_installations, multiple_attempts

other_libraries = [
"https://github.com/simonflueckiger/tesserocr-windows_build/releases/download/tesserocr-v2.7.1-tesseract-5.4.1/tesserocr-2.7.1-cp311-cp311-win_amd64.whl",
"tessdata==1.0.0",
"tessdata.eng==1.0.0",
"https://github.com/simonflueckiger/tesserocr-windows_build/releases/download/tesserocr-v2.7.0-tesseract-5.3.4/tesserocr-2.7.0-cp311-cp311-win_amd64.whl",
"pillow==10.4.0"
]

full_install_libraries = [
"pymupdf==1.24.9"
"pymupdf==1.24.9",
"tessdata.eng==1.0.0",
"tessdata==1.0.0",
]

# 1. upgrade pip, setuptools, wheel
Expand Down Expand Up @@ -156,4 +156,4 @@ def install_libraries_with_deps(libraries):
hours, rem = divmod(total_time, 3600)
minutes, seconds = divmod(rem, 60)

print(f"\033[92m\nTotal installation time: {int(hours):02d}:{int(minutes):02d}:{seconds:05.2f}\033[0m")
print(f"\033[92m\nTotal installation time: {int(hours):02d}:{int(minutes):02d}:{seconds:05.2f}\033[0m")

0 comments on commit 9e8dc8e

Please sign in to comment.