Pyproject stuff

This commit is contained in:
Jake Poznanski 2024-09-20 15:09:45 +00:00
parent 84e68f313e
commit 0cc2b5d7cf

View File

@ -23,8 +23,7 @@ dependencies = [
"pypdf",
"pymupdf",
"pypdfium2",
"lingua-language-detector",
"https://github.com/kpu/kenlm/archive/master.zip",
"lingua-language-detector"
]
license = {file = "LICENSE"}
@ -56,6 +55,13 @@ dev = [
"packaging"
]
[project.optional-dependencies]
train = [
"torch",
"torchvision",
"transformers @ git+https://github.com/huggingface/transformers.git@f9b44097261270377199bb0fcbceb01fd9f7d0c0"
]
[tool.setuptools.packages.find]
exclude = [
"*.tests",