Skip to content

Commit

Permalink
Updated translations and prepackage.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
ggarra13 committed Dec 17, 2024
1 parent 41e9ec6 commit f011fc4
Show file tree
Hide file tree
Showing 13 changed files with 1,441 additions and 1,551 deletions.
28 changes: 28 additions & 0 deletions bin/po/requirements_translate.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
click
filelock
fsspec
huggingface-hub
imagesize
Jinja
joblib
libretranslatepy
lxml
mpmath
numpy
networkx
pillow
PIL
polib
pyYAML
pytz
regex
sacremoses
safetensors
snowballstemmer
sympy
tokenizers
torch
transformers
translate
typing-extensions
tqdm
1 change: 1 addition & 0 deletions bin/python/po_translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import polib
import re
import sys
from urllib.error import HTTPError

#
# Script version
Expand Down
22 changes: 22 additions & 0 deletions cmake/prepackage.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -116,22 +116,44 @@ set( _pythonBuiltinModules
set( _pythonSiteModules
alabaster*
babel*
click*
colorama*
docutils*
filelock*
fltk14/*.cpp
fltk14/*.h
fsspec*
huggingface-hub*
imagesize*
Jinja*
joblib*
libretranslatepy*
lxml*
MarkupSafe*
meson*
mpmath*
numpy*
networkx*
pillow*
PIL*
polib*
pyyaml*
pyYAML*
pygments*
Pygments*
pytz*
regex*
sacremoses*
safetensors*
snowballstemmer*
sphinx*
sympy*
tokenizers*
torch*
transformers
translate*
typing-extensions*
tqdm*
unittest*
)

Expand Down
Loading

0 comments on commit f011fc4

Please sign in to comment.