-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
56 lines (48 loc) · 1.22 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
[project]
name = "rtrec"
version = "0.1.0"
description = "An realtime recommendation system supporting online updates"
authors = [
{ name = "myui", email = "[email protected]" }
]
readme = "README.md"
requires-python = ">= 3.10"
dependencies = [
"numpy>=2.1.2",
"scikit-learn>=1.5.2",
"pandas>=2.2.3",
"fastapi>=0.115.4",
"pydantic>=2.9.2",
"uvicorn>=0.32.0",
"httpx>=0.27.2",
"boto3>=1.35.50",
"tqdm>=4.67.0",
"polars>=1.13.1",
"pyarrow>=18.0.0",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Rust",
]
[project.urls]
homepage = "https://github.com/myui/rtrec"
repository = "https://github.com/myui/rtrec"
[build-system]
requires = ["maturin>=0.13,<2.0"]
build-backend = "maturin"
[tool.rye]
managed = true
dev-dependencies = [
"pytest>=8.3.3",
"ipywidgets>=8.1.5",
]
[tool.maturin]
python-source = "."
module-name = "rtrec._lowlevel"
# This ensures that Maturin uses the correct Cargo profile for releases
cargo-extra-args = ["--release"]
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
features = ["pyo3/extension-module"]
[tool.pytest.ini_options]
addopts = "-s"
testpaths = [ "tests" ]