mirror of
https://github.com/macaodha/batdetect2.git
synced 2026-04-04 15:20:19 +02:00
Add correct index markers and newer setuptools
This commit is contained in:
parent
20295d0457
commit
13acd18050
@ -17,6 +17,7 @@ dependencies = [
|
|||||||
"torch>=1.13.1",
|
"torch>=1.13.1",
|
||||||
"torchaudio>=1.13.1",
|
"torchaudio>=1.13.1",
|
||||||
"torchvision>=0.14.0",
|
"torchvision>=0.14.0",
|
||||||
|
"setuptools>=70.1.0; python_version == '3.14'",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.9,<3.15"
|
requires-python = ">=3.9,<3.15"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
@ -75,15 +76,15 @@ explicit = true
|
|||||||
[tool.uv.sources]
|
[tool.uv.sources]
|
||||||
torch = [
|
torch = [
|
||||||
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
||||||
{ index = "pytorch-cu126", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
|
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
||||||
]
|
]
|
||||||
torchvision = [
|
torchvision = [
|
||||||
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
||||||
{ index = "pytorch-cu126", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
|
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
||||||
]
|
]
|
||||||
torchaudio = [
|
torchaudio = [
|
||||||
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
||||||
{ index = "pytorch-cu126", marker = "sys_platform == 'linux' or sys_platform == 'win32'" },
|
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user