forked from dmlc/treelite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (49 loc) · 1.41 KB
/
pyproject.toml
File metadata and controls
57 lines (49 loc) · 1.41 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
[build-system]
requires = [
"hatchling>=1.12.1"
]
backend-path = ["."]
build-backend = "packager.pep517"
[project]
name = "treelite"
version = "4.6.0.dev0"
authors = [
{name = "Hyunsu Cho", email = "chohyu01@cs.washington.edu"}
]
description = "Treelite: Universal model exchange format for decision tree forests"
readme = {file = "README.rst", content-type = "text/x-rst"}
requires-python = ">=3.8"
license = {text = "Apache-2.0"}
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10"
]
dependencies = [
"numpy",
"scipy",
"packaging"
]
[project.urls]
documentation = "https://treelite.readthedocs.io/en/latest/"
repository = "https://github.com/dmlc/treelite"
[project.optional-dependencies]
scikit-learn = ["scikit-learn"]
testing = ["scikit-learn", "pytest", "hypothesis", "pandas"]
[tool.mypy]
plugins = "numpy.typing.mypy_plugin"
[tool.hatch.build.targets.wheel.hooks.custom]
[tool.ruff]
line-length = 120
# this should be set to the oldest version of python treelite supports
target-version = "py38"
[tool.ruff.lint]
select = [
# numpy 2.0 deprecations/removals
"NPY201",
]