-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpyproject.toml
More file actions
171 lines (156 loc) · 4.05 KB
/
pyproject.toml
File metadata and controls
171 lines (156 loc) · 4.05 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
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
[build-system]
build-backend = "setuptools.build_meta"
requires = [
# TODO: keep in sync with [project.dependencies]
"build>=1.2.2",
"cmake>=3.31.6",
"cython>=3.0.12",
# WARNING: use only dpctl version available on PyPi
"dpctl>=0.20.0",
"ninja>=1.11.1; platform_system!='Windows'",
# NOTE: no DPNP restriction on NumPy version, so follow NumPy's drop schedule
"numpy>=1.26.0",
"scikit-build>=0.18.1",
"setuptools>=79.0.1",
"wheel>=0.45.1",
# WARNING: check with doc how to upgrade
"versioneer[toml]==0.29"
]
[project]
authors = [{name = "Intel Corporation"}]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: C++",
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: POSIX",
"Operating System :: Unix"
]
dependencies = [
# TODO: keep in sync with [build-system.requires] and conda-recipe/meta.yaml
# This restrictions are for dependabot, actual restrictions are set with
# conda.
# TODO: populate it during build process
# TODO: do we have to set sycl runtime dependencies here
# "dpcpp-cpp-rt>=0.59.0",
# "intel-cmplr-lib-rt>=0.59.0"
# WARNING: use the latest dpctl dev version, otherwise stable w/f will fail
"dpctl>=0.22.0dev0",
"numpy>=1.26.0"
]
description = "Data Parallel Extension for NumPy"
dynamic = ["version"]
keywords = [
"dpnp",
"sycl",
"numpy",
"python3",
"intel",
"mkl",
"oneapi",
"gpu",
"dpcpp"
]
license = "BSD-3-Clause"
license-files = ["LICENSE.txt"]
maintainers = [{name = "Intel Corporation"}]
name = "dpnp"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.10,<3.15"
[project.optional-dependencies]
coverage = [
"coverage",
"Cython",
"llvm",
"pytest",
"pytest-cov",
"scipy",
"tomli"
]
docs = [
"Cython",
"cupy",
"sphinx",
"sphinx_rtd_theme",
"pyenchant",
"sphinxcontrib-googleanalytics",
"sphinxcontrib-spelling"
]
test = ["pytest", "scipy"]
[project.urls]
Changelog = "https://github.com/IntelPython/dpnp/blob/master/CHANGELOG.md"
Documentation = "https://intelpython.github.io/dpnp"
Homepage = "https://github.com/IntelPython/dpnp"
Issues = "https://github.com/IntelPython/dpnp/issues"
Repository = "https://github.com/IntelPython/dpnp.git"
[tool.black]
line-length = 80
target-version = ['py310', 'py311', 'py312', 'py313', 'py314']
[tool.codespell]
builtin = "clear,rare,informal,names"
check-filenames = true
ignore-words-list = "amin,arange,elemt,fro,hist,ith,mone,nd,nin,sinc,vart"
quiet-level = 3
[tool.coverage.report]
omit = [
"dpnp/tests/*",
"dpnp/_version.py"
]
[tool.coverage.run]
branch = true
omit = [
"dpnp/tests/*",
"dpnp/_version.py"
]
plugins = [
"Cython.Coverage"
]
source = [
"dpnp"
]
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 80
multi_line_output = 3
skip = ["dpnp/__init__.py"]
split_on_trailing_comma = true
use_parentheses = true
[tool.pylint.basic]
include-naming-hint = true
[tool.pylint.classes]
exclude-protected = ["_create_from_usm_ndarray"]
[tool.pylint.design]
max-args = 11
max-branches = 18
max-locals = 30
max-positional-arguments = 9
max-returns = 8
[tool.pylint.format]
max-line-length = 80
max-module-lines = 8000
[tool.pylint.imports]
allow-wildcard-with-all = true
[tool.pylint.miscellaneous]
notes = ["FIXME", "XXX"]
[tool.versioneer]
VCS = "git"
parentdir_prefix = "dpnp-"
style = "pep440"
versionfile_build = "dpnp/_version.py"
versionfile_source = "dpnp/_version.py"