beerds/pyproject.toml

66 lines
1.1 KiB
TOML

[project]
name = "ai"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = "~=3.11"
dependencies = [
"granian>=2.2.4",
"jinja2>=3.1.6",
"starlite>=1.51.16",
"numpy==1.23.5",
"pillow>=11.1.0",
"markdown>=3.9",
]
[project.optional-dependencies]
default = [
"torch>=2.6.0",
"torchvision>=0.21.0",
"mypy>=1.15.0",
"pyqt5>=5.15.11",
"requests>=2.32.3",
"ruff>=0.11.5",
"types-requests>=2.32.0.20250328",
"matplotlib>=3.10.1",
]
api = [
"torch>=2.6.0",
"torchvision>=0.21.0",
]
[tool.uv]
conflicts = [
[
{ extra = "default" },
{ extra = "api" },
],
]
[tool.uv.sources]
torch = [
{ index = "pytorch-cu124", extra = "default" },
{ index = "pytorch-cpu", extra = "api" },
]
torchvision = [
{ index = "pytorch-cu124", extra = "default" },
{ index = "pytorch-cpu", extra = "api" },
]
[[tool.uv.index]]
name = "pytorch-cu124"
url = "https://download.pytorch.org/whl/cu124"
explicit = true
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.workspace]
members = [
"kivy",
]