-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
80 lines (69 loc) · 2.05 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
[build-system]
requires = ["hatchling", "setuptools", "numpy>=2.0", "Cython>=3.0"]
build-backend = "hatchling.build"
[tool.hatch.version]
path = "archetypes/__init__.py"
[project]
name = "archetypes"
dynamic = ["version"]
description = "A scikit-learn compatible Python package for archetypal analysis"
readme = "README.md"
requires-python = ">=3.9"
license = { text = "BSD-3-Clause"}
authors = [
{name = "Aleix Alcacer", email = "[email protected]"},
{name = "Zanchenling Wang", email = "[email protected]"}
]
classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering"
]
dependencies = [
"numpy>=1.25",
"scikit-learn>=1.4",
"scipy>=1.8,<1.12", # nnls issue, it will be fixed in 1.15
"matplotlib>=3.8",
"jax",
"optax",
"torch",
"custom_inherit",
]
[project.urls]
"Documentation" = "https://archetypes.readthedocs.io"
"Source code" = "https://github.com/aleixalcacer/archetypes"
[tool.hatch.envs.dev]
dependencies = [
"pre-commit",
"flake8",
"pytest",
"black[jupyter]",
"isort",
"pylint",
"jupyter",
]
[tool.hatch.build.hooks.cython]
dependencies = ["hatch-cython"]
[tool.hatch.build.hooks.cython.options]
src = "archetypes"
directives = { boundscheck = false, wraparound = false, nonecheck = false, cdivision = true, language_level = 3, binding = true }
[tool.hatch.build.hooks.cython.options.files]
exclude = ["*.py$"]
[tool.hatch.build.targets.wheel]
packages = ["archetypes"]
[tool.isort]
profile = "black"
[tool.pylint.format]
max-line-length = "100"
[tool.black]
line-length = 100