-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
43 lines (39 loc) · 1.07 KB
/
pyproject.toml
File metadata and controls
43 lines (39 loc) · 1.07 KB
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
43
[project]
name = "lw-python"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"amazon-textract-textractor>=1.9.2",
"click>=8.3.0",
"pandas>=2.3.3",
# Inactive (related commands/tests are currently commented out):
# "docling>=2.74.0",
# "markitdown[all]>=0.1.4",
# "torch>=2.10.0; sys_platform == 'linux'",
# "torchvision>=0.25.0; sys_platform == 'linux'",
]
[dependency-groups]
dev = [
"pyinstaller>=6.19.0",
"pytest>=8.4.2",
]
script = [
"from-root>=1.3.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = [
"--import-mode=importlib" # Recommended for modern projects to avoid sys.path issues
]
# [tool.uv.sources]
# torch = [{ index = "pytorch-cpu", marker = "sys_platform == 'linux'" }]
# torchvision = [{ index = "pytorch-cpu", marker = "sys_platform == 'linux'" }]
# [[tool.uv.index]]
# name = "pytorch-cpu"
# url = "https://download.pytorch.org/whl/cpu"
# explicit = true