-
-
Notifications
You must be signed in to change notification settings - Fork 173
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (94 loc) · 2.56 KB
/
pyproject.toml
File metadata and controls
104 lines (94 loc) · 2.56 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
[project]
name = "organize-tool"
version = "3.3.0"
description = "The file management automation tool"
authors = [{ name="Thomas Feldmann", email = "mail@tfeldmann.de" }]
license = {file = "./LICENSE.txt"}
readme = "README.md"
requires-python = ">=3.9"
keywords = [
"file",
"management",
"automation",
"tool",
"organization",
"rules",
"yaml",
]
classifiers = [
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Utilities",
]
dependencies = [
"arrow>=1.3.0,<2.0.0",
"docopt-ng>=0.9.0,<1.0.0",
"docx2txt>=0.8,<=0.9",
"exifread==2.3.2",
"jinja2>=3.1.2,<4.0.0",
"macos-tags>=1.5.1,<2.0.0 ; sys_platform == 'darwin'",
"natsort>=8.4.0,<9.0.0",
"pdfminer-six>=20231228",
"platformdirs>=4.0.0,<5.0.0",
"pydantic>=2.3.0,<3.0.0",
"pyyaml>=6.0,<7.0",
"rich>=13.4.2,<=14.0.0",
"send2trash[nativelib]>=1.8.2,<2.0.0",
"simplematch>=1.4,<2.0.0",
]
[project.urls]
repository = "https://github.com/tfeldmann/organize"
documentation = "https://organize.readthedocs.io"
[project.optional-dependencies]
docs = [
"markupsafe==3.0.3",
"mkdocs-autorefs>=0.5.0,<1.0.0",
"mkdocs-include-markdown-plugin>=6.0.4,<7.0.0",
"mkdocs>=1.5.3,<2.0.0",
"mkdocstrings[python]>=0.24.0,<1.0.0",
]
[project.scripts]
organize = "organize.cli:cli"
[dependency-groups]
dev = [
"coverage>=7.2.0,<8.0.0",
"mypy==1.10.1", # Recent version seems to break CI (I was using without this constraint, uv gives 1.13.0)
"pyfakefs>=5.3.1,<6.0.0",
"pytest-cov>=4.1.0,<5.0.0",
"pytest>=8.0.0,<9.0.0",
"requests>=2.31.0,<3.0.0",
"ruff>=0.3.0,<1.0.0",
"types-pyyaml>=6.0.12.10,<7.0.0",
]
[tool.coverage.run]
source = ['organize']
[tool.coverage.report]
exclude_also = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.mypy]
python_version = "3.9"
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = [
"schema",
"simplematch",
"appdirs",
"send2trash",
"exifread",
"textract",
"requests",
"macos_tags",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
addopts = "--doctest-modules"
testpaths = ["tests", "organize"]
norecursedirs = ["tests/todo", "organize/filters", ".configs"]
filterwarnings = ["ignore::DeprecationWarning"]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"