-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (37 loc) · 1.19 KB
/
pyproject.toml
File metadata and controls
44 lines (37 loc) · 1.19 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
[project]
name = "kermac"
version = "0.1.4"
description = "Pytorch routines for (Ker)nel (Mac)hines"
readme = "README.md"
requires-python = ">=3.8"
license = {text = "MIT"}
authors = [{name="Kernel Machines", email="kernel_machines@pm.me"}]
dependencies = [
"numpy>=1.21",
"platformdirs>=3.0",
"torch>=2.0",
"cuda-pathfinder>=1.3"
]
[project.optional-dependencies]
cu11 = ["cuda-core[cu11]>=0.1"]
cu12 = ["cuda-core[cu12]>=0.1"]
cu13 = ["cuda-core[cu13]>=0.1"]
[project.urls]
Homepage = "https://github.com/Kernel-Machines/kermac"
Repository = "https://github.com/Kernel-Machines/kermac.git"
[build-system]
requires = ["hatchling>=1.24"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/kermac"]
[tool.hatch.build.targets.wheel.force-include]
include = "include"
thirdparty = "thirdparty"
[tool.hatch.build.targets.sdist]
[tool.hatch.build.targets.sdist.force-include]
include = "include"
thirdparty = "thirdparty"
[tool.hatch.envs.test]
python = "3.8" # Matches requires-python
dependencies = [] # No extra dependencies for unittest
scripts.test = "python -m unittest discover -s tests -p 'test_*.py' -v"