-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
121 lines (109 loc) · 3.52 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "streamflow"
authors = [
{name = "Iacopo Colonnelli", email = "[email protected]"}
]
description = "StreamFlow framework"
readme = "README.md"
requires-python = ">=3.9"
license = {text = "LGPL-3.0-or-later"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: System :: Distributed Computing"
]
dynamic = ["dependencies", "optional-dependencies", "version"]
[project.scripts]
cwl-runner = "streamflow.cwl.runner:run"
streamflow = "streamflow.main:run"
[project.urls]
Homepage = "https://streamflow.di.unito.it"
Package = "https://pypi.org/project/streamflow"
Repository = "https://github.com/alpha-unito/streamflow"
Docker = "https://hub.docker.com/r/alphaunito/streamflow"
[tool.setuptools]
packages = [
"streamflow",
"streamflow.config",
"streamflow.core",
"streamflow.cwl",
"streamflow.cwl.antlr",
"streamflow.cwl.requirement",
"streamflow.cwl.requirement.docker",
"streamflow.data",
"streamflow.deployment",
"streamflow.deployment.connector",
"streamflow.deployment.filter",
"streamflow.ext",
"streamflow.persistence",
"streamflow.provenance",
"streamflow.recovery",
"streamflow.scheduling",
"streamflow.scheduling.policy",
"streamflow.workflow"
]
zip-safe = true
[tool.setuptools.package-data]
"streamflow.config" = ["schemas/v1.0/*.json"]
"streamflow.cwl.requirement.docker" = ["schemas/*.jinja2", "schemas/*.json"]
"streamflow.data" = ["schemas/*.json"]
"streamflow.deployment" = ["schemas/*.json"]
"streamflow.deployment.connector" = ["schemas/*.json"]
"streamflow.deployment.filter" = ["schemas/*.json"]
"streamflow.persistence" = ["schemas/*.sql", "schemas/*.json"]
"streamflow.recovery" = ["schemas/*.json"]
"streamflow.scheduling" = ["schemas/*.json"]
"streamflow.scheduling.policy" = ["schemas/*.json"]
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
version = {attr = "streamflow.version.VERSION"}
[tool.setuptools.dynamic.optional-dependencies]
bandit = {file = "bandit-requirements.txt"}
docs = {file = "docs/requirements.txt"}
lint = {file = "lint-requirements.txt"}
report = {file = "report-requirements.txt"}
test = {file = "test-requirements.txt"}
[tool.codespell]
ignore-words-list = "Crate,crate,NotIn,notin"
[tool.coverage.run]
branch = true
source_pkgs = ["streamflow"]
omit = ["streamflow/cwl/antlr/*"]
[tool.coverage.report]
exclude_lines = [
# Exclude not implemented methods
"raise NotImplementedError",
# Exclude abstract methods
"@(abc\\.)?abstractmethod",
# Exclude Python script entrypoints
"if __name__ == .__main__.:",
# Exclude type checking lines
"if TYPE_CHECKING:",
# Exclude log messages
"if logger.isEnabledFor"
]
ignore_errors = true
omit = [
"streamflow/__main__.py",
"tests/*"
]
[tool.black]
exclude = "streamflow/cwl/antlr"
[tool.isort]
profile = "black"
skip = "streamflow/cwl/antlr"