-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
47 lines (44 loc) · 1.19 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]
[project]
name = "generic-deltamodel"
version = "1.2.0"
description = "Differentiable modeling framework"
readme = "README.md"
requires-python = ">=3.9.0"
license = {file = "LICENSE"}
authors = [
{name = "Leo Lonzarich"},
{name = "Tadd Bindas"},
{name = "Farshid Rahmani"},
{name = "Yalan Song"},
]
maintainers = [
{name = "Leo Lonzarich", email = "lglonzaric@gmail.com"},
{name = "Tadd Bindas", email = "taddbindas@gmail.com"},
{name = "Yalan Song", email = "songyalan1@gmail.com"},
{name = "Doaa Aboelyazeed", email = "doaa.barawy@gmail.com"},
{name = "Chaopeng Shen", email = "shen.chaopeng@gmail.com"},
]
dependencies = [
"torch",
"numpy",
]
dynamic = ["version"] # Add this line to indicate dynamic versioning
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cu121", marker = "platform_system != 'Darwin'"},
]
torchvision = [
{ index = "pytorch-cu121", marker = "platform_system != 'Darwin'"},
]
[[tool.uv.index]]
name = "pytorch-cu121"
url = "https://download.pytorch.org/whl/cu121"
explicit = true