-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
43 lines (38 loc) · 980 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[project]
name = "ipypdf"
version = "0.1.8"
license = {file = "LICENSE"}
description = "Add a short description here"
[tool.pixi.project]
platforms = ["win-64"]
channels = ["conda-forge", "pytorch"]
authors = ["Joel Stansbury <[email protected]>"]
[tool.pixi.tasks]
get_deepdoctection = "pip install deepdoctection"
setup = {cmd="pip install -e .", depends-on="get_deepdoctection"}
fix_tesseract = "python _scripts/fix_tessdata.py"
fix = "isort src/ tests/ && black src/ tests/ -l 79"
test = "pytest --cov=ipypdf tests/"
lab = {cmd="jupyter lab", depends-on=["setup", "fix_tesseract"]}
[tool.pixi.dependencies]
pip="*"
numpy=">=1.26,<2"
pandas=">=2,<3"
ipycanvas="*"
ipycytoscape="*"
ipyevents="*"
ipywidgets="*"
jupyterlab="*"
spacy="==3.5.4"
spacy-model-en_core_web_sm="*"
scipy="==1.14"
tesseract=">=5,<6"
pytesseract=">=0.3,<1"
py-opencv=">=4,<5"
pdf2image=">=1.17,<2"
pytorch=">=2.4,<3"
torchvision=">=0.19,<1"
black="*"
isort="*"
pytest="*"
pytest-cov="*"