-
Notifications
You must be signed in to change notification settings - Fork 30
/
pyproject.toml
146 lines (137 loc) · 3.47 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
build-backend = "setuptools.build_meta"
requires = [
# TODO: keep in sync with [project.dependencies]
"wheel>=0.43",
"build>=1.1",
"setuptools>=63.0.0",
"scikit-build>=0.17.0",
"ninja>=1.11.1; platform_system!='Windows'",
"cmake>=3.29.0",
"cython>=3.0.10",
"numpy >=1.23",
# 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",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: C",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"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"
"numpy>=1.23.0"
]
description = "A lightweight Python wrapper for a subset of SYCL."
dynamic = ["version"]
keywords = [
"dpctl",
"intel",
"oneapi",
"dpcpp"
]
license = {text = "Apache 2.0"}
name = "dpctl"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.9"
[project.optional-dependencies]
coverage = ["Cython", "pytest", "pytest-cov", "coverage", "tomli"]
docs = [
"Cython",
"graphviz",
"pydot",
"furo",
"sphinx",
"sphinx-copybutton",
"sphinx-design",
"sphinxcontrib-googleanalytics",
"sphinxcontrib-jsmath",
"sphinxcontrib-programoutput",
"sphinxcontrib-spelling"
]
[project.urls]
Changelog = "https://github.com/IntelPython/dpctl/blob/main/CHANGELOG.md"
Documentation = "https://intelpython.github.io/dpctl/"
Homepage = "https://github.com/IntelPython/dpctl"
Issues = "https://github.com/IntelPython/dpctl/issues"
Repository = "https://github.com/IntelPython/dpctl.git"
[tool.black]
exclude = "dpctl/_version.py"
line-length = 80
[tool.coverage.report]
omit = [
"dpctl/tests/*",
"dpctl/_version.py",
"*/_cython_api*/stringsource"
]
[tool.coverage.run]
branch = true
omit = [
"dpctl/tests/*",
"dpctl/_version.py",
"*/_cython_api*/stringsource"
]
plugins = [
"Cython.Coverage"
]
source = [
"dpctl"
]
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 80
multi_line_output = 3
skip = ["dpctl/_version.py"]
use_parentheses = true
[tool.pytest.ini.options]
addopts = [
"--junitxml=junit.xml",
"--ignore setup.py",
"--ignore run_test.py",
"--cov-report term-missing",
"--tb native",
"--strict",
"--durations=20",
"-q -ra"
]
markers = [
"broken_complex: mark a test that is skipped due to complex implementation issues in DPC++ compiler"
]
minversion = "6.0"
norecursedirs = [
".*",
"*.egg*",
"build",
"dist",
"conda-recipe"
]
[tool.versioneer]
VCS = "git"
parentdir_prefix = "dpctl-"
style = "pep440"
versionfile_build = "dpctl/_version.py"
versionfile_source = "dpctl/_version.py"