-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
105 lines (93 loc) · 2.67 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
[tool.black]
line-length = 119
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \btutorials\b
| \bbuild\b
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
)
'''
[build-system]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"
# TODO: re-enable if/when scikit-core can support
# [tool.setuptools.dynamic]
# version = { attr = "arrayfire_wrapper.__version__" }
# dynamic = ["version"]
[project]
name = "arrayfire-binary-python-wrapper"
version = "0.7.0+AF3.9.0"
requires-python = ">=3.10"
authors = [
{ name = "ArrayFire", email = "technical@arrayfire.com"},
{ name = "Anton Chernyatevich", email = "chernyatevich.a@gmail.com" },
]
maintainers = [{ name = "ArrayFire", email = "technical@arrayfire.com" }]
description = "ArrayFire Python Wrapper"
readme = "README.md"
license = { file = "LICENSE" }
keywords = [
"arrayfire",
"c",
"python",
"wrapper",
"parallel computing",
"gpu",
"cpu",
"opencl",
"oneapi",
]
classifiers = [
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries",
]
[project.urls]
Website = "http://arrayfire.com"
"General Documentation" = "https://arrayfire.org/docs/index.htm"
#TODO: Documentation, Repository
[tool.scikit-build]
# The build directory. Defaults to a temporary directory, but can be set.
build-dir = "build"
[tool.scikit-build.wheel]
py-api = "py3"
packages = ["arrayfire_wrapper"]
expand-macos-universal-tags = true
[tool.scikit-build.cmake]
build-type = "Release" # not working for whatever reason, duplicated below TODO: fix
[tool.scikit-build.cmake.define]
# edit to enable/disable building of desired backends
AF_BUILD_CPU = "ON"
AF_BUILD_ONEAPI = "ON"
AF_BUILD_CUDA = "ON"
AF_BUILD_OPENCL = "ON"
AF_BUILD_UNIFIED = "ON"
AF_BUILD_DOCS = "OFF"
CMAKE_BUILD_TYPE = "Release"
AF_BUILD_EXAMPLES = "OFF"
AF_WITH_IMAGEIO = "ON"
AF_WITH_LOGGING = "ON"
AF_WITH_FMT_HEADER_ONLY = "ON"
AF_WITH_SPDLOG_HEADER_ONLY = "ON"
AF_BUILD_FORGE = "ON"
AF_TEST_WITH_MTX_FILES = "OFF"
AF_INSTALL_STANDALONE = "ON"
[tool.scikit-build.logging]
level = "INFO"