-
-
Notifications
You must be signed in to change notification settings - Fork 134
/
pyproject.toml
109 lines (97 loc) · 2.79 KB
/
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
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
105
106
107
108
109
[tool.poetry]
name = "organize-tool"
version = "3.2.5"
description = "The file management automation tool"
packages = [{ include = "organize" }]
authors = ["Thomas Feldmann <mail@tfeldmann.de>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/tfeldmann/organize"
documentation = "https://organize.readthedocs.io"
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",
]
[tool.poetry.scripts]
organize = "organize.cli:cli"
[tool.poetry.dependencies]
python = "^3.9"
arrow = "^1.3.0"
docopt-ng = "^0.9.0"
docx2txt = "^0.8"
ExifRead = "2.3.2" # Pinned: https://github.com/tfeldmann/organize/issues/267
Jinja2 = "^3.1.2"
macos-tags = { version = "^1.5.1", markers = "sys_platform == 'darwin'" }
natsort = "^8.4.0"
pdfminer-six = "^20231228"
platformdirs = "^4.0.0"
pydantic = "^2.3.0"
PyYAML = "^6.0"
rich = "^13.4.2"
Send2Trash = { version = "^1.8.2", extras = ["nativeLib"] }
simplematch = "^1.4"
# must be in main dependencies for readthedocs.
mkdocs = { version = "^1.5.3", optional = true }
mkdocs-autorefs = { version = "^0.5.0", optional = true }
mkdocs-include-markdown-plugin = { version = "^6.0.4", optional = true }
mkdocstrings = { version = "^0.24.0", extras = ["python"], optional = true }
markupsafe = { version = "2.0.1", optional = true } # Pinned: https://stackoverflow.com/q/72191560/300783
[tool.poetry.extras]
docs = [
"mkdocs",
"mkdocs-autorefs",
"mkdocs-include-markdown-plugin",
"mkdocstrings",
"markupsafe",
]
[tool.poetry.group.dev.dependencies]
coverage = "^7.2.0"
mypy = "^1.4.0"
pyfakefs = "^5.3.1"
pytest = "^8.0.0"
pytest-cov = "^4.1.0"
requests = "^2.31.0"
ruff = "^0.3.0"
types-PyYAML = "^6.0.12.10"
[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 = ["poetry-core"]
build-backend = "poetry.core.masonry.api"