-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
78 lines (67 loc) · 1.53 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
[build-system]
requires = ["maturin >= 1.5.1"]
build-backend = "maturin"
[project]
name = "lenlp"
version = "1.1.1"
description = "Natural Language Processing library for Python from Rust."
authors = [
{name = "Raphael Sourty", email = "[email protected]"},
]
keywords = []
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Rust",
"Operating System :: OS Independent",
]
requires-python = ">=3.8"
dependencies = [
"scikit-learn >= 1.5.0",
"scipy >= 1.13.1",
]
[project.urls]
Homepage = "https://github.com/raphaelsty/lenlp"
Documentation = "https://github.com/raphaelsty/lenlp"
Repository = "https://github.com/raphaelsty/lenlp"
[project.optional-dependencies]
dev = [
"maturin >= 1.5.1",
"pytest-cov >= 5.0.0",
"pytest >= 7.4.4",
"ruff >= 0.1.15",
]
[tool.maturin]
bindings = "pyo3"
features = ["pyo3/extension-module"]
python-source = "python"
module-name = "lenlp._rslenlp"
[tool.include]
include = [
"Cargo.toml",
"pyproject.toml",
"README.md",
"rust/*",
]
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::RuntimeWarning",
"ignore::UserWarning",
]
addopts = [
"--doctest-modules",
"--verbose",
"-ra",
"--cov-config=.coveragerc",
"-m not web and not slow",
]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "NUMBER"]
norecursedirs = [
"build",
"docs",
"node_modules",
]
markers = [
"web: tests that require using the Internet",
"slow: tests that take a long time to run",
]