-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
40 lines (33 loc) · 983 Bytes
/
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
[tool.poetry]
name = "python-poetry-template"
version = "0.1.0"
repository = "https://github.com/DmitriySevkovych/python-poetry-template"
description = "Template for Python projects with the Poetry package manager"
authors = ["Dmitriy Sevkovych <[email protected]>"]
readme = "README.md"
packages = [{include = "app"}]
[tool.poetry.dependencies]
python = "^3.12"
python-dotenv = "^1.0.0"
[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
black = "^23.11.0"
isort = "^5.12.0"
tomli = "^2.0.1"
ipykernel = "^6.27.1"
pytest = "^7.4.4"
pytest-asyncio = "^0.23.4"
typing-extensions = "^4.11.0"
[tool.poetry.group.gpu]
optional = true
[tool.poetry.group.gpu.dependencies]
torch = { version = "^2.5.0+cu118", source = "pytorch" }
[[tool.poetry.source]]
name = "pytorch"
url = "https://download.pytorch.org/whl/cu118"
priority = "explicit"
[tool.poetry.scripts]
start = "app.main:start"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"