-
Notifications
You must be signed in to change notification settings - Fork 628
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (64 loc) · 2.05 KB
/
pyproject.toml
File metadata and controls
76 lines (64 loc) · 2.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
[build-system]
requires = [
"wheel",
"scikit-build-core>=0.11",
"cython",
"cython-cmake",
"scipy>=0.16",
]
build-backend = "scikit_build_core.build"
[project]
name = "implicit"
version = "0.7.2"
description = "Collaborative Filtering for Implicit Feedback Datasets"
readme = "README.md"
authors = [
{ name = "Ben Frederickson", email = "ben@benfrederickson.com" },
]
requires-python = ">=3.9"
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Cython",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["numpy>=1.17.0", "scipy>=0.16", "tqdm>=4.27", "threadpoolctl"]
[project.optional-dependencies]
gpu = ["rmm-cu13"]
[tool.scikit-build]
wheel.exclude = ["**.pyx", "**.cmake", "**.cuh", "**.hpp", "**.h", "**.hpp.in", "**librapids_logger.so", "**librmm.so"]
cmake.version = ">=3.21.0"
ninja.version = ">=1.10"
build-dir = "build"
[tool.cibuildwheel]
# skip testing in the cibuildwheel phase, will install the wheels later
# and verify
test-command = ""
skip = ["*t-*", "*musl*", "*-manylinux_i686", "*win32"]
[[tool.cibuildwheel.overrides]]
select = "*-manylinux_x86_64*"
before-all = "ci/install_cuda_13.sh"
# auditwheel includes cuda libraries, just skip it
[tool.cibuildwheel.linux]
repair-wheel-command = ""
[tool.cibuildwheel.linux.environment]
CUDACXX = "/usr/local/cuda/bin/nvcc"
# Build `universal2` and `arm64` wheels on an Intel runner.
# Note that the `arm64` wheel and the `arm64` part of the `universal2`
# wheel cannot be tested in this configuration.
[tool.cibuildwheel.macos]
archs = ["x86_64", "universal2", "arm64"]
[tool.pytest.ini_options]
filterwarnings = ['ignore::implicit.utils.ParameterWarning']
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.ruff.lint.isort]
known-first-party = ["implicit"]