-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
36 lines (31 loc) · 1.05 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
[tool.poetry]
name = "pody"
version = "0.1.12"
description = "Pod manager for docker, give limited access to docker for clients."
authors = ["Li, Mengxun <mengxunli@whu.edu.cn>", "Li, Jiayu <jiayu.li@whu.edu.cn>"]
readme = "readme.md"
include = ["pody/config.default.toml", "pody/doc/*"]
# https://stackoverflow.com/questions/72037181
[tool.poetry.dependencies]
python = ">=3.10" # PEP-622
requests = "*"
typer = "0.*"
rich = "*"
docker = {version = "*", optional = true}
nvidia-ml-py = {version = "*", optional = true}
fastapi = {version = "0.*", optional = true}
uvicorn = {version = "0.*", optional = true}
psutil = {version = "*", optional = true}
toml = {version = "*", optional = true}
[tool.poetry.extras]
server = ["docker", "nvidia-ml-py", "fastapi", "uvicorn", "psutil", "toml"]
[tool.poetry.dev-dependencies]
pytest = "*"
[tool.poetry.scripts]
pody-serve = "pody.cli.serve:main"
pody-user = "pody.cli.user:app"
pody-log = "pody.cli.log:app"
pody = "pody.cli.client:app"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"