-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
131 lines (116 loc) · 3.38 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[project]
name = "speedwagon"
version = "0.3.2.dev0"
description = "Collection of tools and workflows for DS"
maintainers = [
{ name="Henry Borchers", email="hborcher@illinois.edu" }
]
authors = [
{name="University Library at The University of Illinois at Urbana Champaign: Preservation Services", email="prescons@library.illinois.edu"}
]
requires-python = ">=3.9"
license = { file="LICENSE"}
dependencies =[
"HathiZip>=0.1.10",
"HathiValidate>=0.3.8",
"pyhathiprep>=0.1.10",
"pyyaml",
"uiucprescon.imagevalidate>=0.1.9",
"uiucprescon.ocr>=0.1.4",
"uiucprescon.packager[kdu]>=0.2.15",
"uiucprescon.images",
"pykdu-compress>=0.1.9",
'importlib_resources;python_version<"3.9"',
'importlib-metadata;python_version<"3.10"',
'typing-extensions;python_version<"3.11"',
'lxml',
"requests",
"pluggy>=1.0",
"py3exiv2bind>=0.1.11",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: University of Illinois/NCSA Open Source License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
]
keywords = ['GUI']
readme = { file= "README.rst", content-type="text/x-rst" }
[project.urls]
project = "https://www.library.illinois.edu/dccdocs/speedwagon"
download = "https://github.com/UIUCLibrary/Speedwagon/releases"
[project.optional-dependencies]
QT = ["PySide6==6.5.3"]
[project.gui-scripts]
speedwagon = "speedwagon.__main__:main"
sw-tab-editor = "speedwagon.startup:standalone_tab_editor"
[tool.setuptools]
include-package-data = true
packages=[
"speedwagon",
"speedwagon.config",
"speedwagon.frontend",
"speedwagon.frontend.cli",
"speedwagon.frontend.qtwidgets",
"speedwagon.frontend.qtwidgets.dialog",
"speedwagon.frontend.qtwidgets.models",
"speedwagon.frontend.qtwidgets.ui",
"speedwagon.tasks",
"speedwagon.workflows",
]
[tool.setuptools.package-data]
speedwagon = ["favicon.ico", "logo.png", 'py.typed']
"speedwagon.frontend.qtwidgets.ui" = [
"console.ui",
"main_window3.ui",
"main_window_shell.ui",
"plugin_settings.ui",
"select_workflow_widget.ui",
'setup_job.ui',
"tab_editor.ui",
"workflow_progress.ui",
"workspace.ui",
]
[build-system]
requires = ["setuptools>=40.8.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--verbose -m \"not notFromSetupPy\""
norecursedirs = "thirdparty"
junit_family="xunit2"
markers=[
"adapter",
"slow: mark test as slow.",
"model_data"
]
[tool.pydocstyle]
# Ignore files that end in _ui.py because they are machine generated
match="((?!test).*)(^(?!.*(ui)).*)\\.py"
[tool.mypy]
python_version = "3.11"
follow_imports_for_stubs=true
# incremental is problematic because of dependency ruamel.yaml
#incremental=false
[tool.ruff]
line-length = 79
exclude = [
"packaging",
"utils",
"docs/source",
"speedwagon/workflows",
"tests",
]
[tool.ruff.lint]
select = ["E", "F", "W", "D", "B"]
# speedwagon/workflows are excluded because most will be removed in a future version
[tool.ruff.lint.pydocstyle]
convention = "google"
#match = "((?!test).*)(^(?!.*(ui)).*)\\.py"
[tool.black]
line-length = 79