-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (84 loc) · 2.16 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (84 loc) · 2.16 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
[build-system]
requires = ["setuptools>=46.4"]
build-backend = "setuptools.build_meta"
[project]
name = "ewoksserver"
version = "2.1.2"
authors = [{ name = "ESRF", email = "dau-pydev@esrf.fr" }]
description = "Backend for ewoksweb"
readme = { file = "README.md", content-type = "text/markdown" }
license = { file = "LICENSE.md" }
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
]
requires-python = ">=3.10"
dependencies = [
"fastapi",
"uvicorn[standard]",
"python-socketio",
"ewoksjob[worker] >=1.6.0rc2,<2",
"ewokscore >=1.0.0",
"pydantic-settings",
"packaging",
]
[project.urls]
Homepage = "https://github.com/ewoks-kit/ewoksserver"
Documentation = "https://ewoksserver.readthedocs.io/en/stable/"
Repository = "https://github.com/ewoks-kit/ewoksserver"
Issues = "https://github.com/ewoks-kit/ewoksserver/issues"
Changelog = "https://github.com/ewoks-kit/ewoksserver/blob/main/CHANGELOG.md"
[project.optional-dependencies]
frontend = [
"ewoksjob[sql]",
]
test = [
"pytest >=7",
"pytest-celery",
"ewoksserver[frontend]",
"pytest-mock",
"httpx2",
]
dev = [
"ewoksserver[test]",
"ruff>=0.16.0",
]
doc = [
"ewoksserver[test]",
"sphinx >=4.5",
"sphinx-autodoc-typehints >=1.16",
"sphinxcontrib-redoc",
"sphinx_design",
"pydata_sphinx_theme",
"sphinx-copybutton",
"setuptools<82", # Issue https://github.com/sphinx-contrib/redoc/issues/53
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
"*" = ['*.png', '*.svg', '*.json']
[tool.coverage.run]
omit = ['*/tests/*']
[project.scripts]
ewoks-server = "ewoksserver.__main__:main"
ewoks-server-spec = "ewoksserver.spec:save"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"S", # flake8-bandit
]
ignore = [
"E501", # line too long
]
[tool.ruff.lint.per-file-ignores]
"src/ewoksserver/tests/*.py" = [
"S101" # allow asserts
]
[tool.ruff.lint.isort]
force-single-line = true
known-first-party = ["ewoksserver"]